我做错什么了pypi缺少“链接”

2024-05-29 10:36:41 发布

您现在位置:Python中文网/ 问答频道 /正文

我想试用pypi来出版一些图书馆。所以我从一个简单的项目开始。 我有以下几点设置.py地址:

import os
from distutils.core import setup

setup(
    name='event_amd',
    packages = ["event_amd"],
    description='Port for EventEmitter from nodejs',
    version='1.0.7',
    author="Borrey Kim",
    author_email="borrey@gmail.com",
    url="https://bitbucket.org/borreykim/event_amd",
    download_url="https://bitbucket.org/borreykim/event_amd/downloads/event_amd-1.0.6.tar.gz",
    keywords=['events'],
    long_description = """\                                                                                                                                                                                                                   
    This is an initial step to port over EventEmitter of nodejs. This is done with the goal of having libraries that are cross platform so that cross communication is easier, and collected together.                                          
    """
)

我已经注册了它,但是:sudo pip install event\u amd给了我一个错误: DistributionNotFound:找不到事件的任何分发 (我不知道event\u amd如何变成event amd?) 此外,下面没有链接(其他项目似乎有): https://pypi.python.org/simple/event_amd/

我在想我是不是在做错事设置.py或者是什么导致了这一切。你知道吗

提前谢谢。你知道吗


Tags: 项目frompyhttpsorgimportpypievent

热门问题