Skip to content
Snippets Groups Projects
Commit 7468c6d1a3ba authored by Charlie Clark's avatar Charlie Clark
Browse files

Put constants in __init__

parent 9e8a99075076
Branches
Tags
No related merge requests found
from __future__ import absolute_import from __future__ import absolute_import
from .xmlfile import xmlfile from .xmlfile import xmlfile
\ No newline at end of file
# constants
__version__ = '1.0.0'
__author__ = 'See ATUHORS.txt'
__license__ = 'MIT'
__author_email__ = 'charlie.clark@clark-consulting.eu'
__url__ = 'https://bitbucket.org/openpyxl/et_xmlfile'
...@@ -37,13 +37,15 @@ ...@@ -37,13 +37,15 @@
except IOError: except IOError:
README = '' README = ''
from et_xmlfile import (
__author__ = 'See AUTHORS' __author__,
__license__ = 'MIT' __license__,
__author_email__ = 'charlie.clark@clark-consulting.eu' __author_email__,
__url__ = 'https://bitbucket.org/openpyxl/et_xmlfile' __url__,
__version__
)
setup(name='et_xmlfile', setup(name='et_xmlfile',
packages=find_packages(), packages=find_packages(),
# metadata # metadata
...@@ -45,9 +47,9 @@ ...@@ -45,9 +47,9 @@
setup(name='et_xmlfile', setup(name='et_xmlfile',
packages=find_packages(), packages=find_packages(),
# metadata # metadata
version="1.0.0", version=__version__,
description="An implementation of lxml.xmlfile for the standard library", description="An implementation of lxml.xmlfile for the standard library",
long_description=README, long_description=README,
author=__author__, author=__author__,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment