Skip to content

Commit 04462f9

Browse files
committed
workflow fixes, cleanup yt leftovers
1 parent 6fd97dc commit 04462f9

File tree

4 files changed

+26
-33
lines changed

4 files changed

+26
-33
lines changed

.github/workflows/check-manifest.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@ jobs:
1616
run: |
1717
python -m pip install --upgrade pip
1818
python -m pip install check-manifest
19-
- name: Install yt
19+
- name: Install yt_xarray
2020
shell: bash
2121
run: |
22-
python -m pip install Cython numpy wheel
2322
python -m pip install --no-build-isolation .
2423
- name: Init submodules
2524
uses: snickerbockers/submodules-init@v4

requirements_dev.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
pip==19.2.3
1+
pip
22
bump2version==0.5.11
3-
wheel==0.33.6
43
watchdog==0.9.0
54
flake8==3.7.8
65
tox==3.14.0

setup.cfg

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,6 @@ exclude = docs,
2121
*/api.py, # avoid spurious "unused import"
2222
*/__init__.py, # avoid spurious "unused import"
2323
*/__config__.py, # autogenerated
24-
yt/units, # wrapper around unyt, avoid spurious "unused import"
25-
yt/frontends/stream/sample_data, # autogenerated
26-
yt/visualization/_mpl_imports.py,
27-
yt/utilities/fits_image.py,
28-
yt/utilities/lodgeit.py,
29-
yt/mods.py,
30-
yt/visualization/_colormap_data.py,
3124
ignore = E203, # Whitespace before ':' (black compatibility)
3225
E266, # Too many leading '#' for block comment
3326
E302, # Expected 2 blank lines, found 0

setup.py

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,46 +2,48 @@
22

33
"""The setup script."""
44

5-
from setuptools import setup, find_packages
5+
from setuptools import find_packages, setup
66

7-
with open('README.rst') as readme_file:
7+
with open("README.rst") as readme_file:
88
readme = readme_file.read()
99

10-
with open('HISTORY.rst') as history_file:
10+
with open("HISTORY.rst") as history_file:
1111
history = history_file.read()
1212

1313

14-
with open('requirements.txt') as reqs_file:
14+
with open("requirements.txt") as reqs_file:
1515
requirements = reqs_file.read().strip().split("\n")
1616

1717

18-
test_requirements = ['pytest>=3', ]
18+
test_requirements = [
19+
"pytest>=3",
20+
]
1921

2022
setup(
2123
author="Chris Havlin",
22-
author_email='[email protected]',
23-
python_requires='>=3.6',
24+
author_email="[email protected]",
25+
python_requires=">=3.6",
2426
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",
3335
],
3436
description="interfaces between yt and xarray",
3537
install_requires=requirements,
3638
license="MIT license",
37-
long_description=readme + '\n\n' + history,
39+
long_description=readme + "\n\n" + history,
3840
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",
4345
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",
4648
zip_safe=False,
4749
)

0 commit comments

Comments
 (0)