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


Groups > comp.lang.python > #74813

Re: Pip doesn't install my scripts

References <CAFEUn8ZCUNsn8obwZjop0M=RmmPBTjJYZRcMz+gjx2-Rh+oHtA@mail.gmail.com> <CAMw+j7K8sGs=CeDAiDscC=HhdirvvCU_yd64KjBFT147SmYePw@mail.gmail.com>
Date 2014-07-19 14:39 +0300
Subject Re: Pip doesn't install my scripts
From Yaşar Arabacı <yasar11732@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.12041.1405773255.18130.python-list@python.org> (permalink)

Show all headers | View raw


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 “Kwpolska” Warrick <kwpolska@gmail.com>:
> On Sat, Jul 19, 2014 at 9:19 AM, Yaşar Arabacı <yasar11732@gmail.com> 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’re doing things using ancient methods.
> Upgrade your setup.py to use setuptools, and its entry points
> mechanism.
>
> I’ve sent a PR to fix all of your errors:
> https://github.com/yasar11732/tklsystem/pull/1
>
> --
> Chris “Kwpolska” Warrick <http://chriswarrick.com/>
> PGP: 5EAAEA16
> stop html mail | always bottom-post | only UTF-8 makes sense



-- 
http://ysar.net/

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


Thread

Re: Pip doesn't install my scripts Yaşar Arabacı <yasar11732@gmail.com> - 2014-07-19 14:39 +0300

csiph-web