# Packaging Python Projects **Repository Path**: liaozibo-dev/packaging-python-projects ## Basic Information - **Project Name**: Packaging Python Projects - **Description**: No description available - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-22 - **Last Updated**: 2021-03-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Example Package This is a simple example package. You can use [Github-flavored Markdown](https://guides.github.com/features/mastering-markdown/) to write your content. --- https://packaging.python.org/tutorials/packaging-projects/ dependencies: ``` python -m pip install --user --upgrade setuptools wheel python -m pip install --user --upgrade twine ``` python 3.8: `ModuleNotFoundError: No module named 'importlib_metadata'` ``` conda install poetry conda install rfc3986 ``` packaging: ``` python setup.py sdist bdist_wheel ``` upload: ```bash # username: __token__ # password: tokenValue python -m twine upload --repository testpypi dist/* ``` install: ``` python -m pip install --index-url https://test.pypi.org/simple/ --no-deps example-pkg-liaoz ``` or: ``` pip install -i https://test.pypi.org/simple/ example-pkg-liaoz==0.0.1 ```