我正在尝试试用 pypi 来发布一些库。所以我从一个简单的项目开始。我有以下 setup.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_amd 给我一个错误:DistributionNotFound: No distributions at all found for event-amd(我不确定 event_amd 如何变成 event-amd?)下面也没有链接(其中其他项目似乎有): https ://pypi.python.org/simple/event_amd/
我想知道我在 setup.py 中是否做错了什么,或者可能是什么原因造成的。
提前致谢。