Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #88549

pypi submission?

From Benjamin Schollnick <bschollnick@gmail.com>
Subject pypi submission?
Date 2015-04-06 18:12 -0400
Newsgroups comp.lang.python
Message-ID <mailman.73.1428358749.12925.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

pypi submission? Benjamin Schollnick <bschollnick@gmail.com> - 2015-04-06 18:12 -0400
  Re: pypi submission? Dave Hein <jenesuispasdave@gmail.com> - 2015-04-06 18:02 -0700

csiph-web