Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #65409
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'url:pypi': 0.03; 'subject:Python': 0.06; 'error:': 0.07; 'subject:installation': 0.07; 'suppose': 0.07; 'correct,': 0.09; 'filename': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'setup.py': 0.09; 'python': 0.11; '"-"': 0.16; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-ipconnect.de': 0.16; 'setuptools': 0.16; 'subject:library': 0.16; 'subject:packaging': 0.16; 'subject:required': 0.16; 'url:packages': 0.16; 'url:tar': 0.16; 'library': 0.18; 'trying': 0.19; 'properly': 0.19; 'import': 0.22; 'install': 0.23; 'header:User-Agent:1': 0.23; 'specify': 0.24; 'script': 0.25; 'header:X-Complaints-To:1': 0.27; 'installed': 0.27; 'skip:g 30': 0.30; 'lines': 0.31; 'app.': 0.31; 'apparently': 0.31; 'omitted': 0.31; 'writes:': 0.31; 'file': 0.32; 'url:python': 0.33; 'url:source': 0.33; 'could': 0.34; 'charset:us-ascii': 0.36; 'url:org': 0.36; 'should': 0.36; 'searching': 0.37; 'being': 0.38; 'subject:needed': 0.38; 'handle': 0.38; 'skip:[ 10': 0.38; 'to:addr:python-list': 0.38; 'issue': 0.38; 'subject:can': 0.39; 'to:addr:python.org': 0.39; 'either': 0.39; 'skip:p 20': 0.39; 'received:org': 0.40; 'skip:i 50': 0.60; 'url:%20': 0.61; 'simple': 0.61; 'received:217': 0.63; 'email addr:gmail.com': 0.63; 'more': 0.64; 'url:0': 0.67; 'contact': 0.67; 'safe': 0.72; 'subject:find': 0.84 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | dieter <dieter@handshake.de> |
| Subject | Re: Advice needed for Python packaging - can't find required library during installation |
| Date | Tue, 04 Feb 2014 08:30:00 +0100 |
| References | <14a9fb0b-75a8-4d22-8c5b-75b1bf02493e@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| X-Gmane-NNTP-Posting-Host | pd9e09c80.dip0.t-ipconnect.de |
| User-Agent | Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.22 (linux) |
| Cancel-Lock | sha1:1pgQhUo32V2Jrd65yeWDO0cvlXk= |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.6381.1391499012.18130.python-list@python.org> (permalink) |
| Lines | 40 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1391499012 news.xs4all.nl 2871 [2001:888:2000:d::a6]:41587 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:65409 |
Show key headers only | View raw
thebiggestbangtheory@gmail.com writes:
> I am trying to package up a very simple python app. In my setup.py file I have a couple of lines that include the following:
>
> from setuptools import setup
>
> setup(
> name='ban',
> version='0.1',
> packages=['ban',],
> description='Python Distribution Utilities',
> author='Ban',
> author_email='ban@tbbt.com',
> package_data={'ban': ['data/*.dat']},
> long_description=open('README.txt').read(),
> install_requires=['Google-Safe-Browsing-v2-Lookup'],
> )
> ...
> Processing dependencies for ban==0.1
> Searching for Google-Safe-Browsing-v2-Lookup
> Reading http://pypi.python.org/simple/Google-Safe-Browsing-v2-Lookup/
> No local packages or download links found for Google-Safe-Browsing-v2-Lookup
> error: Could not find suitable distribution for Requirement.parse('Google-Safe-Browsing-v2-Lookup')
> **************************
>
> Issue #1
>
> Apparently the setup script cannot find the package - Google-Safe-Browsing-v2-Lookup . However, I can install this package via pip.
>
> What should I specify in the setup.py file instead of install_requires=['Google-Safe-Browsing-v2-Lookup'] so that the library is properly installed ?
I suppose that "setuptools" is confused by the "-" in the package
names together with these "-" being omitted in the uploaded file
(https://pypi.python.org/packages/source/G/Google-Safe-Browsing-v2-Lookup/Google%20Safe%20Browsing%20v2%20Lookup-0.1.0.tar.gz5").
If this supposition is correct, then you would either need to
contact the "setuptools" author (to get "setuptools" handle this case)
or the "Google Safe Browsing" author to get a filename more
in line with the package name.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Advice needed for Python packaging - can't find required library during installation thebiggestbangtheory@gmail.com - 2014-02-03 15:33 -0800
Re: Advice needed for Python packaging - can't find required library during installation dieter <dieter@handshake.de> - 2014-02-04 08:30 +0100
Re: Advice needed for Python packaging - can't find required library during installation thebiggestbangtheory@gmail.com - 2014-02-04 07:01 -0800
csiph-web