diff --git a/setup.py b/setup.py index 5c225be..e6b1ee8 100644 --- a/setup.py +++ b/setup.py @@ -11,57 +11,56 @@ from setuptools import setup, find_packages # Save version and author to __meta__.py -version = open('VERSION').read().strip() +version = open("VERSION").read().strip() dirname = os.path.dirname(__file__) -path = os.path.join(dirname, 'src', 'cstrees', '__meta__.py') -meta = '''# Automatically created. Please do not edit. +path = os.path.join(dirname, "src", "cstrees", "__meta__.py") +meta = ( + """# Automatically created. Please do not edit. __version__ = '%s' __author__ = '' -''' % version -with open(path, 'w') as F: +""" + % version +) +with open(path, "w") as F: F.write(meta) -with open(os.path.join(os.path.dirname(__file__), 'requirements.txt')) as f: +with open(os.path.join(os.path.dirname(__file__), "requirements.txt")) as f: requirements = f.readlines() setup( # Basic info - name='cstrees', + name="cstrees", version=version, - author='Felix Rios', - author_email='felix.leopoldo.rios@gmail.com', - url='github.com/felixleopoldo/cstrees', - description='A Python library for CStrees.', - long_description=codecs.open('README.rst', 'rb', 'utf8').read(), - + author="Felix Rios", + author_email="felix.leopoldo.rios@gmail.com", + url="github.com/felixleopoldo/cstrees", + description="A Python library for CStrees.", + long_description=codecs.open("README.rst", "rb", "utf8").read(), # Classifiers (see https://pypi.python.org/pypi?%3Aaction=list_classifiers) classifiers=[ - 'Development Status :: 3 - Alpha', - 'Intended Audience :: Developers', - 'License :: OSI Approved :: Apache 2.0 License', - 'Operating System :: OS Independent', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.3', - 'Programming Language :: Python :: 3.4', - 'Programming Language :: Python :: 3.5', - 'Topic :: Software Development :: Libraries', + "Development Status :: 3 - Alpha", + "Intended Audience :: Developers", + "License :: OSI Approved :: Apache 2.0 License", + "Operating System :: OS Independent", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.3", + "Programming Language :: Python :: 3.4", + "Programming Language :: Python :: 3.5", + "Topic :: Software Development :: Libraries", ], - # Packages and dependencies - package_dir={'': 'src'}, - packages=find_packages('src'), - install_requires=[ - requirements - ], + package_dir={"": "src"}, + packages=find_packages("src"), + install_requires=[requirements], extras_require={ - 'dev': [ - 'python-boilerplate[dev]', + "dev": [ + "python-boilerplate[dev]", ], }, - + scripts=["scripts/reproduce_uai"], # Other configurations zip_safe=False, - platforms='any', -) \ No newline at end of file + platforms="any", +)