pypi submission?

Benjamin Schollnick bschollnick at gmail.com
Tue Apr 7 00:12:09 CEST 2015


Folks,

I’m having issues with submitting to pypi.

I can register and upload my package.

nerv:~ Benjamin$ pip search directory_caching
Directory_Caching         - A Caching library for Directories & Files
nerv:~ Benjamin$ 

but, if you try to install it using pip:

pip install directory_caching
Reading Profile from ~/dropbox/shellscripts/profile
nerv:~ Benjamin$ pip install directory_caching
Collecting directory-caching
  Could not find any downloads that satisfy the requirement directory-caching
  No distributions at all found for directory-caching

If you do a verbose:

Last login: Mon Apr  6 18:05:02 on ttys000
Reading Profile from ~/dropbox/shellscripts/profile
nerv:~ Benjamin$ pip -v install directory_caching
Collecting directory-caching
  Getting page https://pypi.python.org/simple/directory-caching/
  URLs to search for versions for directory-caching:
  * https://pypi.python.org/simple/directory-caching/
  Getting page https://pypi.python.org/simple/directory-caching/
  Analyzing links from page https://pypi.python.org/simple/directory-caching/
  Could not find any downloads that satisfy the requirement directory-caching
  Cleaning up...
  No distributions at all found for directory-caching
  Exception information:
  Traceback (most recent call last):
    File "/Library/Python/2.7/site-packages/pip/basecommand.py", line 232, in main
      status = self.run(options, args)
    File "/Library/Python/2.7/site-packages/pip/commands/install.py", line 339, in run
      requirement_set.prepare_files(finder)
    File "/Library/Python/2.7/site-packages/pip/req/req_set.py", line 333, in prepare_files
      upgrade=self.upgrade,
    File "/Library/Python/2.7/site-packages/pip/index.py", line 397, in find_requirement
      'No distributions at all found for %s' % req
  DistributionNotFound: No distributions at all found for directory-caching

The package is here, https://github.com/bschollnick/Directory_Caching <https://github.com/bschollnick/Directory_Caching>.

And I’ve been messing around with different config files, etc, trying to solve the problem myself.  
Can anyone point out what I have done wrong?

If a simpler package would be useful, then https://github.com/bschollnick/semantic_url <https://github.com/bschollnick/semantic_url>

I haven’t attempted to release semantic_url yet, simply because I’m trying to solve Directory_Caching first.
And yes, I know caching files & directory listings is a black voodoo art, and asking for trouble.

This attempts to validate three different ways, and I’ve been using it for quite a while without any issue.  It’s invaluable in the web gallery when you have a directory that can have 2-4K worth of files.

		- Benjamin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20150406/78726eff/attachment.html>


More information about the Python-list mailing list