X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=setup.py;h=c4d2bfc41d95b9e13230247ab92712d6a0def509;hb=63c535d7c6b151c210e344dd4b745407f3911d76;hp=de4095a971b3cd4e2c599f22cd77a083669b34c9;hpb=af950585f55381f3875179fef85b329532c7d6c0;p=ppu.git diff --git a/setup.py b/setup.py index de4095a..c4d2bfc 100755 --- a/setup.py +++ b/setup.py @@ -15,11 +15,10 @@ if is_setuptools: kw['python_requires'] = '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*' versionpath = join(abspath(dirname(__file__)), "ppu", "__version__.py") -load_source("ppu_version", versionpath) -from ppu_version import __version__ # noqa: ignore flake8 E402 +ppu_version = load_source("ppu_version", versionpath) setup(name='ppu', - version=__version__, + version=ppu_version.__version__, description='Broytman Portable Python Utilities', long_description=open('README.rst', 'rU').read(), author='Oleg Broytman',