Borrey
Borrey

Reputation: 63

What am I doing wrong pypi missing "Links for"

I'm trying to tryout pypi to publish some libraries. So I started with a simple project. I have the following 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="[email protected]",
    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.                                          
    """
)

I've registered it but: sudo pip install event_amd gives me an error: DistributionNotFound: No distributions at all found for event-amd (I'm not sure how event_amd turns to event-amd?) Also there is no links under (which other projects seem to have ): https://pypi.python.org/simple/event_amd/

I was wondering if I am doing something wrong in the setup.py or what may be causing this.

Thanks in advance.

Upvotes: 1

Views: 69

Answers (1)

merwok
merwok

Reputation: 6907

You need to upload a source archive after registering the release: python setup.py register sdist upload

Upvotes: 2

Related Questions