我一直在尝试按照以下步骤将我的包上传到PyPI:
在我的主目录([distutils]
index-servers = pypi
[pypi]
repository=https://pypi.python.org/pypi
username=my_username
password=my_password
)中创建隐藏的LICENSE.TXT
文件,其中包含:
requirements.txt
在我的包中创建包含此内容的setup.cfg
,[metadata]
description-file = README.md
和setup.py
:
from distutils.core import setup
setup(
name='Package_name',
packages=['Package_name'],
version='1.0',
description='Description,
author= 'ShellRox',
author_email='Email',
url='Github url',
download_url='Github download url',
keywords=['authentication', 'steam', 'simple'],
classifiers=[],
)
在我的包的同一目录中创建python setup.py register -r pypitest
python setup.py sdist bdist_wininst upload
是包含这个的(桌面):
setup.py
最后,执行此命令:
One
出于某种原因打印此错误:
错误:[Errno 2]没有这样的文件或目录:'Python / Reference 文件3.2
可能是什么问题?我的{{1}}可能有问题吗?