-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Alex Markham
committed
Jan 24, 2024
1 parent
8b1b6b2
commit 2a5c28e
Showing
1 changed file
with
33 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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='[email protected]', | ||
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="[email protected]", | ||
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', | ||
) | ||
platforms="any", | ||
) |