Is distutils2 at a beta level?

35 views
Skip to first unread message

Andrew McNabb

unread,
Sep 15, 2011, 2:59:25 PM9/15/11
to the-fellowship-...@googlegroups.com
I presume that the 1.0 release of packaging/distutils2 will happen when
Python 3.3 is released. Right now, the latest version on PyPI is 1.0a3
(8 October 2010), but it looks like there's been a lot of development in
the meantime. Is it at a beta level yet? In other words, would it be
appropriate to start using packaging/distutils2 (for non
mission-critical applications) before the release of Python 3.3? If so,
are there any plans for a beta in the near future?

I ask because if a beta of packaging/distutils2 were available in the
near future, I would be willing to package it for Fedora and use it for
a few small projects. If not, that's fine, too. I guess a lot of it
depends on when the distutils2 developers actually want that level of
exposure.

Thanks for all of your work. I think packaging/distutils2 will be a
great improvement.

--
Andrew McNabb
http://www.mcnabbs.org/andrew/
PGP Fingerprint: 8A17 B57C 6879 1863 DE55 8012 AB4D 6098 8826 6868

Éric Araujo

unread,
Sep 17, 2011, 12:10:43 PM9/17/11
to the-fellowship-...@googlegroups.com
Hi Andrew,

> I presume that the 1.0 release of packaging/distutils2 will happen when
> Python 3.3 is released.

Right.

> Right now, the latest version on PyPI is 1.0a3 (8 October 2010), but it
> looks like there's been a lot of development in the meantime.

Indeed. We’ve fixed a lot of things thanks to the migration to 3.x and
to the extensive testing done by the Python buildbots, but we still have
a ton of things to do. Moreover, the distutils2 codebase lags behind
packaging; I’m working on that and hope to synchronize next week.

> Is it at a beta level yet?

Not yet. Beta means feature freeze, and we’re not there yet. We need
to make more things private (defining __all__ in every module, renaming
methods to start with an underscore) to avoid the distutils trap (people
use internals and we can’t change them anymore), the API of reworked
modules (metadata, _trove, manifest) could be improved, etc.

> In other words, would it be appropriate to start using
> packaging/distutils2 (for non mission-critical applications) before
> the release of Python 3.3? If so, are there any plans for a beta in
> the near future?

What you can do is add distutils2 support in parallel to your setup.py
script based on distutils or setuptools. Call “pysetup generate-setup”
in an empty directory and use the generated setup.py to see what I mean.

FTR, I’m working on a tutorial about this precisely, and after it’s read
and reviewed I’ll see about integrating (part of) it in the official docs.

> I ask because if a beta of packaging/distutils2 were available in the
> near future, I would be willing to package it for Fedora and use it for
> a few small projects.

If there’s no rule that Fedora only packages stable projects, you can
certainly wait for the next alpha release (I’ll ask Tarek to make one
when I have synchronized d2 with packaging and there’s no test failures
left) and package that. As a Debian user, I know that I prefer system
packages whenever I can, and it will hopefully get us new bug reports
and feature requests.

Cheers

Dennis

unread,
Nov 13, 2011, 4:22:58 PM11/13/11
to The fellowship of the packaging
Hey Eric, thanks for the comments on Andrew's original post. On this
particular point:

> What you can do is add distutils2 support in parallel to your setup.py
> script based on distutils or setuptools.  Call “pysetup generate-setup”
> in an empty directory and use the generated setup.py to see what I mean.

Is this something that can be done with distutils2 and python2.7 right
now? I'm really excited about the work being done here and would like
to start trying it out. I installed distutils2 with pip, but can't
find pysetup installed anywhere. Just curious if this is possible to
try using the "pysetup generate-setup" as you recommend.

Thanks again for the effort here guys. A lot of people in the python
community are excited for the 1.0 release!
--Dennis

Éric Araujo

unread,
Mar 21, 2012, 11:02:10 PM3/21/12
to the-fellowship-...@googlegroups.com
Hi Dennis,

>> What you can do is add distutils2 support in parallel to your setup.py
>> script based on distutils or setuptools. Call “pysetup generate-setup”
>> in an empty directory and use the generated setup.py to see what I mean.
> Is this something that can be done with distutils2 and python2.7 right
> now?

Yes, if you use the development version from the repository or the 1.0a4
release that was cut a week or two ago.

> I'm really excited about the work being done here and would like
> to start trying it out.

Great! We need feedback from users, even if the manpower and the time
to fix all the things is limited.

> I installed distutils2 with pip, but can't find pysetup installed
> anywhere. Just curious if this is possible to try using the
> "pysetup generate-setup" as you recommend.

Upgrade your existing install with pip and you’ll get the pysetup command.

> Thanks again for the effort here guys. A lot of people in the python
> community are excited for the 1.0 release!

Thanks for the kind words!

Reply all
Reply to author
Forward
0 new messages