Skip to main content

python scripts demos

Project description

install

python3 -m pip install --user --upgrade setuptools wheel twine
python setup.py sdist
twine check dist/*

pypi

配置文件 ~/.pypirc

[distutils]
index-servers = localhost pypi

[localhost]
repository: http://localhost:8080
username: keefe
password: 123456

[pypi]
repository: https://upload.pypi.org/legacy/
username: keefe
password: 

上传到pypi

# 上传到pypi官服 https://upload.pypi.org/legacy/  bdist_wheel~whl包
python setup.py bdist_wheel upload 
或者
twine upload dist/*

# 上传到私服, sdist~源码包
python setup.py sdist upload -r localhost

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

python_demo-0.0.3-py3-none-any.whl (11.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page