I've asked before about bundling Distribute. But now I ask, is it possible to
pull out the `pkg_resources` module from the Distribute folder and bundle only
that with my project?
Also, is that `pkg_resources` module different than the one that comes with
setuptools?
Thanks,
Ram.
Hi all,
I'm trying to release my project to PyPI today.
I have three problems:
(1.) I have 4 different forks for my project for Python versions 2.4, 2.5, 2.6
and 3.1. Should they all be on the same name in PyPI?
(2.) I'm trying to upload an MSI. I'm doing `setup.py bdist_msi register
Comments inline.
Chris Withers chris at simplistix.co.uk writes:
Ram Rachum wrote:
(1.) I have 4 different forks for my project for Python versions 2.4, 2.5,
2.6
and 3.1. Should they all be on the same name in PyPI?
Yes.
Sounds good. But I am confused. I see in my PyPI page here
Tarek Ziadé ziade.tarek at gmail.com writes:
no. if you change MANIFEST.in, MANIFEST is rebuilt. You have to re-run
the sdist command though.
Okay, new development. I've written a MAINFEST.in file like this:
recursive-include garlicsim_wx *
recursive-exclude garlicsim_wx *.pyc
When I do
I'm trying to make a tar.gz source distribution. I saw in the docs that a tar
program is needed. I am on Windows. Where do I get one?
Ram.
___
Distutils-SIG maillist - Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig
ssteinerX at gmail.com ssteinerx at gmail.com writes:
On Nov 16, 2009, at 11:10 AM, Ram Rachum wrote:
I'm trying to make a tar.gz source distribution. I saw in the docs
that a tar
program is needed. I am on Windows. Where do I get one?
You've got to be joking.
Try Google
Tarek Ziadé ziade.tarek at gmail.com writes:
Notice that the upcoming version does not rely on externals program
anymore, and will use
the stdlib module to work with the tar engine.
Regards
___
Distutils-SIG maillist - Distutils-SIG at
Hey guys,
Please take a look at my question about including package data:
http://stackoverflow.com/questions/1734373/including-package-data-with-distribute/
(I don't care whether you answer here or on StackOverflow.)
Ram.
___
Distutils-SIG maillist
Ben Finney ben+python at benfinney.id.au writes:
cool-RR cool-rr at cool-rr.com writes:
What I really want is never having to worry about the build directory
being around after doing any actions with `setup.py`. Do you have any
other suggestion?
If you have determined that ‘setup.py
Tarek Ziadé ziade.tarek at gmail.com writes:
Until then, I would recommend using an explicit MANIFEST.in and stick
with plain Distutils options,
You said on StackOverflow to look in distutils' docs to read about the template
language for MANIFEST.in.
Tarek Ziadé ziade.tarek at gmail.com writes:
On Fri, Nov 13, 2009 at 9:55 PM, cool-RR cool-rr at cool-rr.com wrote:
I'm having trouble using Distribute's pkg_resources.require(). I posted a
question on StackOverflow:
What's the best way to delete the build directory both before and after
installation, using Distribute? I want to do it so the user will only need to
do
setup.py install, and the build directory will be pre- and post-deleted.
Thanks,
Ram.
___
Ben Finney ben+python at benfinney.id.au writes:
Ram Rachum cool-rr at cool-rr.com writes:
What's the best way to delete the build directory both before and
after installation, using Distribute? I want to do it so the user will
only need to do setup.py install, and the build directory
Guido van Rossum guido at python.org writes:
I just found this comment on my blog. People have told me this in
person too, so I believe it is real pain (even if the solution may be
elusive and the suggested solutions may not work). But I don't know
how to improve the world. Is the work on
Tarek Ziadé ziade.tarek at gmail.com writes:
You need an internet connection unless you provide an archive of
distribute alongside
the distribute_setup.py script in your archive. In that case, it will
use it rather than getting
it at PyPI,
So yes, there is a way to get it installed with
Hello,
I would like to bundle Distribute with my project
so that I could use it without making my users
install it. (I like to keep things as simple as
possible for my users.)
Is it possible? I thought of just copying the
setuptools folder from the source distribution
into a package in my
Tarek Ziadé ziade.tarek at gmail.com writes:
On Thu, Nov 5, 2009 at 8:58 PM, Ram Rachum cool-rr at cool-rr.com wrote:
Pruned
Does it make sense? Will it work? Anything else I
should keep in mind?
Hello,
It is possible to bundle, but the best strategy depends on what you are
doing
Tarek Ziadé ziade.tarek at gmail.com writes:
There's a trick to use it without installing it :
- add the distribute_setup.py script besides your setup.py script
- call the use_setuptools API in setup.py, so distribute gets
downloaded then added in the path
(see the documentation for
Lennart Regebro regebro at gmail.com writes:
2. You should only create binary releases if your module contains
C-code and then only for Windows.
Why only if there's C code? I personally find it more convenient to install
binaries than from source.
Lennart Regebro regebro at gmail.com writes:
2009/11/5 Ram Rachum cool-rr at cool-rr.com:
Why only if there's C code?
Because in general you want to compile the code on the system when
it's Linux or osx etc. It works better, and you don't have to provide
both 32bit and 64 bit versions
20 matches
Mail list logo