116 | | 1. Name your package appropriately. The package name is specified with the `name` argument in `setup.py`. It is recommend that you prefix your package name with `Trac`, for easy identification and to lessen the likelihood of a package name collision with an existing PyPI package. For example, FullBlogPlugin is given the name `TracFullBlog`, and TagsPlugin is given the name `TracTags`. |
117 | | 1. Update dependencies in your environment: |
118 | | {{{#!sh |
119 | | $ pip install -U pip setuptools wheel |
120 | | }}} |
121 | | 1. From a checkout of your source code, run: |
122 | | {{{#!sh |
123 | | $ python setup.py sdist bdist_wheel |
124 | | }}} |
125 | | 1. Register your package on PyPI. |
126 | | {{{#!sh |
127 | | $ python setup.py register dist/*.whl |
128 | | }}} |
| 132 | }}} |
| 133 | 1. Name your package appropriately. The package name is specified with the `name` argument in `setup.py`. It is recommend that you prefix your package name with `Trac`, for easy identification and to lessen the likelihood of a package name collision with an existing PyPI package. For example, FullBlogPlugin is given the name `TracFullBlog`, and TagsPlugin is given the name `TracTags`. |
| 134 | 1. Update dependencies in your environment: |
| 135 | {{{#!sh |
| 136 | $ pip install -U pip setuptools wheel |
| 137 | }}} |
| 138 | 1. From a checkout of your source code, run: |
| 139 | {{{#!sh |
| 140 | $ python setup.py sdist bdist_wheel |
| 141 | }}} |
| 142 | 1. Register your package on PyPI. |
| 143 | {{{#!sh |
| 144 | $ twine register dist/*.whl |