python将包添加到pip中

python将包添加到pip中,python,installation,package,pip,Python,Installation,Package,Pip,我正在尝试将我的包添加到python包索引中 我将包注册到Python包索引中 在我的回购中添加了MANIFEST.in: include README.rst include MANIFEST.in include CHANGELOG.rst include LICENSE include requirements.txt include requirements-test.txt include setup.py recursive-include mypackagename * 和set

我正在尝试将我的包添加到python包索引中

我将包注册到Python包索引中

在我的回购中添加了MANIFEST.in:

include README.rst
include MANIFEST.in
include CHANGELOG.rst
include LICENSE
include requirements.txt
include requirements-test.txt
include setup.py
recursive-include mypackagename *
和setup.py文件:

import os
from setuptools import setup

install_requires = ["requests"]

base_dir = os.path.dirname(os.path.abspath(__file__))

setup(
    name = "mypackagename",
    version = "0.0.5.dev",
    description = "My Description",
    long_description="\n\n".join([
        open(os.path.join(base_dir, "README.rst"), "r").read(),
        open(os.path.join(base_dir, "CHANGELOG.rst"), "r").read()
    ]),
    url = "https://github.com/myaccount/mypackagename",
    author = "My Name",
    author_email = "my@email.com",
    packages = ["mypackagename"],
    zip_safe = False,
    install_requires = install_requires,
    test_suite = "tests.get_tests",
)
但当我这样做时:pip安装mypackagename

此错误显示为:

下载/解包mypackagename找不到任何下载

满足mypackagename清理的要求。。。没有

找到mypackagename的所有分发版本


你能确认你的包在python索引中吗?它在python索引中,但我需要像setup.py更新之类的东西吗?这些文件是从我的回购中自动提取的吗?o我需要将我的包文件上传到python索引?是的,我不确定PIP是否看github。。。