Skip to content

Commit

Permalink
New release
Browse files Browse the repository at this point in the history
  • Loading branch information
Nelson-Gon committed Jan 29, 2021
1 parent 8308a60 commit 58bd951
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cytounet/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@

sys.path.append(os.path.dirname(os.path.realpath(__file__)))
__author__ = "Nelson Gonzabato"
__version__ = "0.2.0".encode("ascii", "ignore").decode('ascii')
__version__ = "0.2.1".encode("ascii", "ignore").decode('ascii')
__all__ = ["model", "data", "augmentation"]
8 changes: 6 additions & 2 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ check_status (){
case "$docs_answer" in
[yY][eE][sS] | [yY] ) read -p "Have you updated the version number in all places?" version_answer
case "$version_answer" in
[yY][eE][sS] | [yY] ) echo "Perfect. Removing dist and uploading to test.pypi";
rm -r dist;python setup.py sdist;python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*;;
[yY][eE][sS] | [yY] ) echo "Perfect. Cleaning up and uploading to test.pypi"
if [ -d dist ]
then
rm -r dist;
fi;
python setup.py sdist;python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*;;
[nN][oO] ) echo "Please update version number first";exit 1;;
esac;;
[nN][oO] | [nN] ) echo "Please update docs first";;
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
version="0.2.1",
description='Deep Learning based Cell Segmentation',
url="http://www.github.com/Nelson-Gon/cytounet",
download_url="https://github.com/Nelson-Gon/cytounet/archive/v0.2.0.zip",
download_url="https://github.com/Nelson-Gon/cytounet/archive/v0.2.1.zip",
author='Nelson Gonzabato',
author_email='gonzabato@hotmail.com',
license='MIT',
keywords="keras tensorflow images image-analysis deep-learning biology",
packages=find_packages(),
long_description=open('README.md').read(),
long_description=open('README.md', encoding="UTF-8").read(),
python_requires='>=3.6',
long_description_content_type='text/markdown',
zip_safe=False)

0 comments on commit 58bd951

Please sign in to comment.