DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
Create a ~/.pypirc file:
Code Block language bash $ cat ~/.pypirc [distutils] index-servers = pypi pypitest [pypi] username=your-username password=********* [pypitest] repository=https://test.pypi.org/legacy/ username=your-username password=*********(more details here.)
Set proper permissions for the pypirc file:
Code Block language bash $ chmod 600 ~/.pypirc
- Confirm that airflow/version.py is set properly.
Install the package in PyPi's test environment:
Code Block language bash $ python setup.py sdist upload -r pypitest
- Verify that the test package looks good by downloading it and installing it into a virtual environment. The package download link is available at:
https://test.pypi.org/project/apache-airflow/#files Install the package in PyPi's production environment:
Code Block language bash $ python setup.py sdist upload -r pypi
- Again, confirm that the package is available here:
https://pypi.python.org/pypi/apache-airflow