Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: 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; 'scripts': 0.03; 'url:pypi': 0.03; 'encoding': 0.05; 'installed.': 0.07; 'pypi': 0.07; 'utf-8': 0.07; 'here?': 0.09; 'i\xe2\x80\x99ve': 0.09; 'setup.py': 0.09; 'url:github': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'chris,': 0.16; 'dashes.': 0.16; 'errors:': 0.16; 'fixes.': 0.16; 'mechanism.': 0.16; 'merged': 0.16; 'names?': 0.16; 'non-ascii': 0.16; "package's": 0.16; 'scripts.': 0.16; 'separated': 0.16; 'setuptools,': 0.16; 'subject:install': 0.16; 'syntaxerror:': 0.16; 'url:peps': 0.16; 'sat,': 0.16; 'fix': 0.17; 'wrote:': 0.18; 'trying': 0.19; 'file,': 0.19; 'programming': 0.22; 'import': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; 'copied': 0.24; 'directory.': 0.24; 'documented': 0.24; "shouldn't": 0.24; 'url:dev': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'script': 0.25; 'somewhere': 0.26; 'header:In- Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'character': 0.29; 'points': 0.29; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'directory,': 0.31; 'file': 0.32; 'run': 0.32; 'url:python': 0.33; 'updated': 0.34; 'sense': 0.34; 'problem': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'version': 0.36; 'installing': 0.36; 'url:listinfo': 0.36; 'doing': 0.36; 'entry': 0.36; 'thanks': 0.36; 'hi,': 0.36; 'url:org': 0.36; 'should': 0.36; 'wrong': 0.37; 'problems': 0.38; 'stable': 0.38; 'that,': 0.38; 'release': 0.40; 'url:mail': 0.40; 'most': 0.60; 'numbers': 0.61; 'from:charset:utf-8': 0.61; 'real': 0.63; 'face': 0.64; 'zip': 0.64; 'more': 0.64; 'skip:\xe2 10': 0.65; 'to:addr:gmail.com': 0.65; 'details': 0.65; 'here': 0.66; 'importantly,': 0.68; '8bit%:43': 0.74; 'jul': 0.74; '9:19': 0.84; 'you\xe2\x80\x99re': 0.91; 'package:': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=44jUG0RgNIUTAmvmhUJcQz0fZttlQONxt0UT448QpPU=; b=q7SzZ2MkvTimTtTSOmKdgYSkCZNU8dKZIH0K2CqzGh/ijr1eoSRMO8P+Wl17k3nWfJ rxoqnjeE9whdhz6HvG0Se5736osrjJ8FZWZ/t2mGrpTxlo1J/kpPqyEQK1Je51XBSxzj gSBfjCl8uVLw5Z4yuniczeYEu8rjgJdOvmXAVGW7miPtmubOScCtlP9v8U4XuQmHEs2S VVHj2sr/iyyR3s+VNsLcUik6/hSVWAIHC40AupLCu6oIehchkGai+eMqv7Kve4+6wXOy cRtMn+KopMnEEPGtF/IgyDc0FJJ7oRDw5Z4OCngnx8lSbZ3YD4UEwlZUH771BRpsBTxk 2bug== MIME-Version: 1.0 X-Received: by 10.236.222.138 with SMTP id t10mr17562374yhp.10.1405769959249; Sat, 19 Jul 2014 04:39:19 -0700 (PDT) In-Reply-To: References: Date: Sat, 19 Jul 2014 14:39:19 +0300 Subject: Re: Pip doesn't install my scripts From: =?UTF-8?B?WWHFn2FyIEFyYWJhY8Sx?= To: =?UTF-8?B?Q2hyaXMg4oCcS3dwb2xza2HigJ0gV2Fycmljaw==?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 61 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1405773255 news.xs4all.nl 2942 [2001:888:2000:d::a6]:51946 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:74813 Hi Chris, Thanks a lot for your fixes. I have merged your PR and updated PyPi package= . I have one more question; is it documented somewhere that one shouldn't use dash for stable version names? I am not professional in programming and I thought for some reason that release numbers should be separated with dashes. 2014-07-19 12:44 GMT+03:00 Chris =E2=80=9CKwpolska=E2=80=9D Warrick : > On Sat, Jul 19, 2014 at 9:19 AM, Ya=C5=9Far Arabac=C4=B1 wrote: >> Hi, >> >> I am trying to package my file, but I am having problems with >> installing my Scripts. Here is my package: >> https://github.com/yasar11732/tklsystem >> >> Here is my package's PyPi page: https://pypi.python.org/pypi/TkLsystem >> >> The problem I face is that, when I run `python setup.py install` from >> my development directory, I see that script file is installed. >> However, if I run `pip install TkLsystem`, my script file is not >> copied to Scripts directory. >> >> What am I doing wrong here? >> >> -- >> http://ysar.net/ >> -- >> https://mail.python.org/mailman/listinfo/python-list > > Tons of things are wrong. > > * SyntaxError: Non-ASCII character '\xc5' in file lsystem/__init__.py > on line 6, but no encoding declared; see > http://python.org/dev/peps/pep-0263/ for details > * you should not import your package in setup.py > * you are python 3-only for no real reason at all > * the zip on PyPI is for version 0.1.3. It ignores the version 0.1-5, > because of the dash, which should not be used in names of stable > software > * and, most importantly, you=E2=80=99re doing things using ancient method= s. > Upgrade your setup.py to use setuptools, and its entry points > mechanism. > > I=E2=80=99ve sent a PR to fix all of your errors: > https://github.com/yasar11732/tklsystem/pull/1 > > -- > Chris =E2=80=9CKwpolska=E2=80=9D Warrick > PGP: 5EAAEA16 > stop html mail | always bottom-post | only UTF-8 makes sense --=20 http://ysar.net/