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.

Files for python-demo, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size python_demo-0.0.3-py3-none-any.whl (11.5 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page