Skip to content

Commit

Permalink
adding UAI script (black formatted)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Markham committed Jan 24, 2024
1 parent 8b1b6b2 commit 2a5c28e
Showing 1 changed file with 33 additions and 34 deletions.
67 changes: 33 additions & 34 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
)

0 comments on commit 2a5c28e

Please sign in to comment.