Skip to content

Commit

Permalink
version 0.4.2.a4
Browse files Browse the repository at this point in the history
  • Loading branch information
jepegit committed Feb 1, 2022
1 parent b394803 commit 877855a
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 6 deletions.
12 changes: 10 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,18 @@ include cellpy/logging.json
recursive-include cellpy/parameters *_default.conf
recursive-include cellpy/utils/data/raw *.res
recursive-include cellpy/utils/data *.h5
recursive-include cellpy/readers/instruments/configurations *.yml *.yaml *.jsn *.json *.conf

recursive-exclude * __pycache__
recursive-exclude * *.py[co]
exclude testdata
exclude tests

prune dev_data
prune dev_utils
prune testdata
prune tests
prune examples
prune recipe
prune .pytest_cache
prune .github

recursive-include docs *.rst conf.py Makefile make.bat *.jpg *.png *.gif
2 changes: 1 addition & 1 deletion cellpy/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version_info = (0, 4, 2, "a3")
version_info = (0, 4, 2, "a4")
__version__ = ".".join(map(str, version_info))
2 changes: 2 additions & 0 deletions dev_environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ dependencies:
- PyGithub
- watchdog
- pytest
- black
- twine
- invoke
- conda-build
Expand All @@ -43,3 +44,4 @@ dependencies:
- requests
- nbsphinx
- sphinx-rtd-theme
- build
2 changes: 2 additions & 0 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ requests
cookiecutter
tqdm
sqlalchemy
build
black
6 changes: 3 additions & 3 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,17 +301,17 @@ def build(c, dist=True, docs=False, upload=True, serve=False, browser=False):
print(" Creating distribution ".center(80, "="))
print("Running python setup.py sdist")
if dist:
c.run("python setup.py sdist")
c.run("python -m build")
if docs:
print(" Building docs ".center(80, "-"))
c.run("sphinx-build docs docs/_build")
if upload:
print(" Uploading to PyPI ".center(80, "="))
print(" Running 'twine upload dist/*'")
print(" Trying with using username and password from keyring.")
c.run("twine upload dist/*")
c.run("python -m twine upload dist/*")
else:
print(" To upload to pypi: 'twine upload dist/*'")
print(" To upload to pypi: 'python -m twine upload dist/*'")
if serve:
import pathlib

Expand Down

0 comments on commit 877855a

Please sign in to comment.