Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
jklynch committed Sep 1, 2020
1 parent 9561afc commit d2dbbab
Showing 1 changed file with 19 additions and 14 deletions.
33 changes: 19 additions & 14 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,38 +19,43 @@
Upgrade pip like so:
pip install --upgrade pip
""".format(*(sys.version_info[:2] + min_version))
""".format(
*(sys.version_info[:2] + min_version)
)
sys.exit(error)

here = path.abspath(path.dirname(__file__))

with open(path.join(here, 'README.rst'), encoding='utf-8') as readme_file:
with open(path.join(here, "README.rst"), encoding="utf-8") as readme_file:
readme = readme_file.read()

with open(path.join(here, 'requirements.txt')) as requirements_file:
with open(path.join(here, "requirements.txt")) as requirements_file:
# Parse requirements.txt, ignoring any commented-out lines.
requirements = [line for line in requirements_file.read().splitlines()
if not line.startswith('#')]
requirements = [
line
for line in requirements_file.read().splitlines()
if not line.startswith("#")
]


setup(
name='pdf-workers',
name="pdf-workers",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description="do some work at PDF",
long_description=readme,
author="Brookhaven National Lab",
url='https://github.com/NSLS-II-PDF/pdf-workers',
python_requires='>={}'.format('.'.join(str(n) for n in min_version)),
packages=find_packages(exclude=['docs', 'tests']),
url="https://github.com/NSLS-II-PDF/pdf-workers",
python_requires=">={}".format(".".join(str(n) for n in min_version)),
packages=find_packages(exclude=["docs", "tests"]),
entry_points={
'console_scripts': [
"console_scripts": [
# 'command = some.module:some_function',
],
},
include_package_data=True,
package_data={
'pdf_workers': [
"pdf_workers": [
# When adding files here, remember to update MANIFEST.in as well,
# or else they will not be included in the distribution on PyPI!
# 'path/to/data_file',
Expand All @@ -59,8 +64,8 @@
install_requires=requirements,
license="BSD (3-clause)",
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Natural Language :: English',
'Programming Language :: Python :: 3',
"Development Status :: 2 - Pre-Alpha",
"Natural Language :: English",
"Programming Language :: Python :: 3",
],
)

0 comments on commit d2dbbab

Please sign in to comment.