]> git.phdru.name Git - ppu.git/commitdiff
Fix setup.py
authorOleg Broytman <phd@phdru.name>
Sat, 15 Apr 2017 18:51:41 +0000 (21:51 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 15 Apr 2017 19:08:33 +0000 (22:08 +0300)
setup.py

index 2103a687074db927f0b6add2b1caef9ab0af73f8..a3050ec2e3a1aa59d7307b6ae27e2b5bcad109e7 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -1,8 +1,5 @@
 #!/usr/bin/env python
 
-from imp import load_source
-from os.path import abspath, dirname, join
-
 try:
     from setuptools import setup
     is_setuptools = True
@@ -10,18 +7,13 @@ except ImportError:
     from distutils.core import setup
     is_setuptools = False
 
-versionpath = join(abspath(dirname(__file__)), '{remove-old-files}', '__version__.py')
-load_source('remove-old-files_version', versionpath)
-# Ignore: E402 module level import not at top of file
-from remove-old-files_version import __version__  # noqa
-
-setup(name='{remove-old-files}',
-      version=__version__,
-      description='Broytman {remove-old-files}',
+setup(name='remove-old-files',
+      version='0.0.1',
+      description='Broytman remove-old-files',
       long_description=open('README.txt', 'rtU').read(),
       author='Oleg Broytman',
       author_email='phd@phdru.name',
-      url='http://phdru.name/Software/Python/',
+      url='http://phdru.name/Software/Python/remove-old-files/',
       license='GPL',
       platforms=['any'],
       keywords=[''],
@@ -37,8 +29,6 @@ setup(name='{remove-old-files}',
           'Programming Language :: Python :: 2.7',
           'Programming Language :: Python :: 2 :: Only',
       ],
-      packages=['{remove-old-files}'],
-      package_data={'{remove-old-files}': []},
       scripts=[],
       requires=[],
       )