Skip to content

Commit

Permalink
Small add
Browse files Browse the repository at this point in the history
  • Loading branch information
mraveri committed May 21, 2020
1 parent 348b37d commit a672bb2
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ doc:

release:
python3 setup.py sdist bdist_wheel
python3 -m twine upload --repository tensiometer dist/*
python3 -m twine upload --repository testpypi dist/*

clean:
@rm -rf build dist
Expand Down
7 changes: 7 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
GetDist>=1.1.2
numpy
matplotlib>=2.2.0
scipy>=1.0.0
joblib
coverage
tqdm
10 changes: 10 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,16 @@ def get_long_description():
return ''.join(lines[:i])


# get requirements:
def get_requirements():
with open('README.rst', encoding='utf-8-sig') as f:
lines = f.readlines()
i = -1
while '=====' not in lines[i]:
i -= 1
return ''.join(lines[:i])


# setup:
setuptools.setup(name='tensiometer',
version=find_version(),
Expand Down
2 changes: 1 addition & 1 deletion tensiometer/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__author__ = 'Marco Raveri'
__version__ = "0.0.1"
__version__ = "0.0.3"
__url__ = "https://tensiometer.readthedocs.io"

0 comments on commit a672bb2

Please sign in to comment.