mozilla / unicode-slugify

A slugifier that works in unicode
BSD 3-Clause "New" or "Revised" License
321 stars 52 forks source link

"pip install unicode-slugify" is missing files #3

Closed tirithen closed 9 years ago

tirithen commented 12 years ago

I cannot install this package with pip, the following happens

$ sudo pip install unicode-slugify Downloading/unpacking unicode-slugify Could not find any downloads that satisfy the requirement unicode-slugify No distributions at all found for unicode-slugify Storing complete log in /home/tirithen/.pip/pip.log

And the log says:


/usr/bin/pip run on Wed Jan 25 13:58:45 2012 Downloading/unpacking unicode-slugify Getting page http://pypi.python.org/simple/unicode-slugify URLs to search for versions for unicode-slugify:

acdha commented 12 years ago

The problem is that someone with permission needs to actually upload a source archive (e.g. python setup.py sdist upload)

neoascetic commented 12 years ago

Sooo?..

ondrowan commented 12 years ago

+1

evgenyfadeev commented 12 years ago

Can somebody upload this, please?

neoascetic commented 12 years ago

Just to clarify, you can install this via PIP directly from git repo by running:

pip install https://github.com/mozilla/unicode-slugify/tarball/master
evgenyfadeev commented 12 years ago

Yes, but this does not work for us - we need to package dependencies in setup.py

Is there a way to put dependency straight from the repo into the standard setup.py?

neoascetic commented 12 years ago

@evgenyfadeev sure, just use dependency_links keyword.

evgenyfadeev commented 12 years ago

Thanks, checked that keyword, seems like it requires either a single .py file to work or .egg file to work.

This module is 20 lines of code, so I'll just copy-paste...

neoascetic commented 12 years ago

@evgenyfadeev you are wrong. In dependency_links you specify url to archive contains needed package, like so:

setup(
    install_requires=(
        'unicode-slugify == from_repo',
    ),
    dependency_links=(
        'https://github.com/mozilla/unicode-slugify/tarball/master#egg=unicode-slugify-from_repo',
    )
)
domguard commented 12 years ago

@neoascetic we all know you're right But a Pypi package takes 10 seconds to upload. Does the author has some ideological bias towards Pypi ?

evgenyfadeev commented 12 years ago

It's uploaded! try pip install unicode-slugify

domguard commented 12 years ago

@evgenyfadeev - nice, but how will you update it if you're not the owner of this repository ?

evgenyfadeev commented 12 years ago

@domguard I've asked the owner and he published it. He said that since Mozilla is in charge they could help too.

domguard commented 12 years ago

cool :) this can be closed now...

melinath commented 11 years ago

... and yet it's still open?

davedash commented 9 years ago

Sorry folks, I haven't used this project for a few years so I let these issues slipped. It's definitely fixed in 2015 ;)