|
2 | 2 | from setuptools import setup, find_packages |
3 | 3 | from os import path |
4 | 4 |
|
5 | | -pkg_name = next(p for p in find_packages() if '.' not in p) |
| 5 | +pkg_name = next(p for p in find_packages() if "." not in p) |
6 | 6 | here = path.abspath(path.dirname(__file__)) |
7 | 7 |
|
8 | | -with open(path.join(here, 'README.md'), 'r') as f: |
| 8 | +with open(path.join(here, "README.md"), "r") as f: |
9 | 9 | long_description = f.read() |
10 | 10 |
|
11 | | -with open(path.join(here, 'requirements.txt')) as f: |
| 11 | +with open(path.join(here, "requirements.txt")) as f: |
12 | 12 | requirements = f.read().splitlines() |
13 | 13 |
|
14 | | -with open(path.join(here, pkg_name, 'version.py')) as f: |
| 14 | +with open(path.join(here, pkg_name, "version.py")) as f: |
15 | 15 | exec(f.read()) |
16 | 16 |
|
17 | 17 | setup( |
18 | | - name=pkg_name.replace('_', '-'), |
| 18 | + name=pkg_name.replace("_", "-"), |
19 | 19 | version=__version__, |
20 | 20 | description="DataJoint Element for Animal Management", |
21 | 21 | long_description=long_description, |
22 | | - long_description_content_type='text/markdown', |
23 | | - author='DataJoint', |
24 | | - |
25 | | - license='MIT', |
| 22 | + long_description_content_type="text/markdown", |
| 23 | + author="DataJoint", |
| 24 | + |
| 25 | + license="MIT", |
26 | 26 | url=f'https://github.com/datajoint/{pkg_name.replace("_", "-")}', |
27 | | - keywords='neuroscience animal-management datajoint', |
28 | | - packages=find_packages(exclude=['contrib', 'docs', 'tests*']), |
| 27 | + keywords="neuroscience animal-management datajoint", |
| 28 | + packages=find_packages(exclude=["contrib", "docs", "tests*"]), |
29 | 29 | install_requires=requirements, |
30 | 30 | ) |
0 commit comments