PIP:错误:[Errno 2]没有这样的文件或目录:'Python / Reference Documentation 3.2'

时间:2017-08-10 12:48:58

标签: python pypi

我一直在尝试按照以下步骤将我的包上传到PyPI:

  1. 注册PyPI
  2. 在我的主目录([distutils] index-servers = pypi [pypi] repository=https://pypi.python.org/pypi username=my_username password=my_password )中创建隐藏的LICENSE.TXT文件,其中包含:

    requirements.txt
  3. 在我的包中创建包含此内容的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=[],
    )
    
  4. 在我的包的同一目录中创建python setup.py register -r pypitest python setup.py sdist bdist_wininst upload 是包含这个的(桌面):

    setup.py
  5. 最后,执行此命令:

    One
  6. 出于某种原因打印此错误:

      

    错误:[Errno 2]没有这样的文件或目录:'Python / Reference   文件3.2

    可能是什么问题?我的{{1}}可能有问题吗?

0 个答案:

没有答案