now on PyPi

4 views
Skip to first unread message

Joel B. Mohler

unread,
Mar 8, 2011, 9:14:04 PM3/8/11
to PyQtBindings-dev
I committed to a randomly chosen version number between 0 and 1 and uploaded
to PyPi. Thus the cheese-shop has a decent looking example introduction to
the form creation aspect of PyQtBindings.

I waffled over whether that should be a DomainEntity example. That's
definitely an example worthy aspect, but it's not quite so hello-world as a
simple dialog.

Joel

Tamás Bajusz

unread,
Mar 10, 2011, 6:39:57 AM3/10/11
to pyqtbind...@googlegroups.com
Congrats on first release! Nice to see your progress.

One notice. The released .tar.gz doesn't contain ez_setup.py
so python install setup.py fails. Creating a MANIFEST.in file the usual
way to go.
http://docs.python.org/distutils/sourcedist.html#the-manifest-in-template

From (linux)packagers point of view it would be better to not import from
ez_setup at all. Just include it in sdist, as SqlAlchemy does.

Tamás

Joel B. Mohler

unread,
Mar 10, 2011, 11:13:14 PM3/10/11
to pyqtbind...@googlegroups.com
Thanks Tamás. I have generated a new 0.5.1 release with a MANIFEST.in.

I don't quite follow the comment about omitting ez_setup. I'll need to read
up on that as I thought that was important.

Tamás Bajusz

unread,
Mar 11, 2011, 5:13:26 AM3/11/11
to pyqtbind...@googlegroups.com
In Linux distributions setuptools exist as .deb/.rpm/etc. package, and setup.py
is mostly for packagers, who list setuptools in build depends. So my
suggestion is:
try:
from setuptools import setup
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup

Tamás

Reply all
Reply to author
Forward
0 new messages