Skip to content

Commit 18d0d6c

Browse files
authored
Add dependencies for development.
1 parent 4d92a6c commit 18d0d6c

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

environment.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ dependencies:
77
- xarray
88
- pip
99
- pre-commit
10-
- pytest
11-
- black
10+
- pytest # for tests
11+
- black # code formatting
12+
- twine # for uploading to PyPI
13+
- bump2version
1214
- pip:
1315
- lazy-loader
1416
- tuna

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ def run(self):
6464
pass
6565

6666
self.status("Building Source and Wheel (universal) distribution…")
67-
os.system("{0} setup.py sdist bdist_wheel --universal".format(sys.executable))
67+
os.system(
68+
"{0} setup.py sdist bdist_wheel --universal".format(sys.executable)
69+
)
6870

6971
self.status("Uploading the package to PyPi via Twine…")
7072
os.system("twine upload dist/*")

0 commit comments

Comments
 (0)