|
2 | 2 |
|
3 | 3 | """The setup script.""" |
4 | 4 |
|
5 | | -from setuptools import setup, find_packages |
| 5 | +from setuptools import find_packages, setup |
6 | 6 |
|
7 | | -with open('README.rst') as readme_file: |
| 7 | +with open("README.rst") as readme_file: |
8 | 8 | readme = readme_file.read() |
9 | 9 |
|
10 | | -with open('HISTORY.rst') as history_file: |
| 10 | +with open("HISTORY.rst") as history_file: |
11 | 11 | history = history_file.read() |
12 | 12 |
|
13 | 13 |
|
14 | | -with open('requirements.txt') as reqs_file: |
| 14 | +with open("requirements.txt") as reqs_file: |
15 | 15 | requirements = reqs_file.read().strip().split("\n") |
16 | 16 |
|
17 | 17 |
|
18 | | -test_requirements = ['pytest>=3', ] |
| 18 | +test_requirements = [ |
| 19 | + "pytest>=3", |
| 20 | +] |
19 | 21 |
|
20 | 22 | setup( |
21 | 23 | author="Chris Havlin", |
22 | | - |
23 | | - python_requires='>=3.6', |
| 24 | + |
| 25 | + python_requires=">=3.6", |
24 | 26 | classifiers=[ |
25 | | - 'Development Status :: 2 - Pre-Alpha', |
26 | | - 'Intended Audience :: Developers', |
27 | | - 'License :: OSI Approved :: MIT License', |
28 | | - 'Natural Language :: English', |
29 | | - 'Programming Language :: Python :: 3', |
30 | | - 'Programming Language :: Python :: 3.6', |
31 | | - 'Programming Language :: Python :: 3.7', |
32 | | - 'Programming Language :: Python :: 3.8', |
| 27 | + "Development Status :: 2 - Pre-Alpha", |
| 28 | + "Intended Audience :: Developers", |
| 29 | + "License :: OSI Approved :: MIT License", |
| 30 | + "Natural Language :: English", |
| 31 | + "Programming Language :: Python :: 3", |
| 32 | + "Programming Language :: Python :: 3.6", |
| 33 | + "Programming Language :: Python :: 3.7", |
| 34 | + "Programming Language :: Python :: 3.8", |
33 | 35 | ], |
34 | 36 | description="interfaces between yt and xarray", |
35 | 37 | install_requires=requirements, |
36 | 38 | license="MIT license", |
37 | | - long_description=readme + '\n\n' + history, |
| 39 | + long_description=readme + "\n\n" + history, |
38 | 40 | include_package_data=True, |
39 | | - keywords='yt_xarray', |
40 | | - name='yt_xarray', |
41 | | - packages=find_packages(include=['yt_xarray', 'yt_xarray.*']), |
42 | | - test_suite='tests', |
| 41 | + keywords="yt_xarray", |
| 42 | + name="yt_xarray", |
| 43 | + packages=find_packages(include=["yt_xarray", "yt_xarray.*"]), |
| 44 | + test_suite="tests", |
43 | 45 | tests_require=test_requirements, |
44 | | - url='https://github.com/chrishavlin/yt_xarray', |
45 | | - version='0.1.0', |
| 46 | + url="https://github.com/data-exp-lab/yt_xarray", |
| 47 | + version="0.1.0", |
46 | 48 | zip_safe=False, |
47 | 49 | ) |
0 commit comments