-
Notifications
You must be signed in to change notification settings - Fork 28
Publishing to PyPI
Staś Małolepszy edited this page Jan 21, 2019
·
10 revisions
python-fluent
hosts the code of the following packages available on PyPI:
To publish new versions, first follow the setup instructions for twine and for the .pypirc file.
For either package:
-
From the root, ensure correct file permissions:
$ git ls-tree --full-tree --name-only -r HEAD | xargs chmod ugo+r $ find . -type d | xargs chmod ugo+x
-
If you normally use a different umask, set umask to 000:
$ umask 000
-
cd fluent.syntax
orcd fluent.runtime
-
Update
setup.py
andCHANGELOG.md
. -
Commit and push. Either:
$ git commit -m "fluent.syntax X.Y.Z"
Or
$ git commit -m "fluent.runtime X.Y.Z"
Then
$ git push
-
Draft a new release on GitHub.
- Use
fluent.syntax@X.Y.Z
orfluent.runtime@X.Y.Z
for the tag name - Use
fluent.syntax X.Y.Z
orfluent.runtime X.Y.Z
for the release title. - Copy the relevant part of the CHANGELOG.
- Use
-
Publish:
$ rm -rf *.egg-info $ twine upload dist/XXX.tar.gz # the new package you just created
Up to version 0.10, the fluent.syntax
module used to be published as fluent on PyPI. That package is still available but shouldn't be updated any more.