SG_Testing
This is the SG_TESTING Project @Swissglider
Howto upload to pypi
Source:
To install
pip install --user --upgrade setuptools wheel
pip install --user --upgrade twine
Run the creation and upload to test.pypi
rm -rf dist
python setup.py sdist bdist_wheel
# from test.pypi.org
# /root/.local/bin/twine upload --repository-url https://test.pypi.org/legacy/ dist/* -u <user_name> -p <password>
python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/* -u <user_name> -p <password>
# from pypy.org
python -m twine upload dist/* -u <user_name> -p <password>
Install to test package from test.pypi
# from test.pypi.org
pip install --index-url https://test.pypi.org/simple/ sg_testing
# from pypy.org
pip install sg_testing
Run the creation and upload to pypi
rm -rf dist
python setup.py sdist bdist_wheel
/root/.local/bin/twine upload dist/*
With setup.py (markdown is not really working well)
python setup.py sdist upload -r pypitest