Hi,
from http://pythonhosted.org/setuptools/setuptools.html#dynamic-discovery-of-ser…
{{{
about setup.py develop:
... For example, if you recommend that people use setup.py develop when tracking your in-development code, you should
let them know that this needs to be run after every update or commit.
}}}
It would be very nice, if you could agree on a common name, and suggest it here.
I know, you can't force it. Please give a good advice here.
Should I open a new ticket?
Thomas Güttler
Hello,
I'd like to get (programmatically) the directory where the scripts have
been copied after doing "install".
I know that "install_scripts" has a method called "get_outputs" that
retrieves a list with all the destinations. However, when "easy_install"
is called as part of "install", "install_scripts.get_outputs()" returns
the location within the egg. I'd like to know how to retrieve the
outputs for the final step in which those are moved to the final
location.
Any thoughts?
Thanks in advance,
Jose.
Hi,
I want to compile a simple python embedded program using distutils. My
codes are attached.
Codes create python_launcher.exe but windows gives me not a valid
win32 application error.
I can compile same code using visual c++ 2008 gui, so there is not any
problem on my compiler. I think problem is the way I use distutils.
My motivation is to create an executable file that will be distributed
with python27.dll so that end users can just click and run the program
without having to setup python interpreter on their computer.
This question can be found on
http://stackoverflow.com/questions/19332836/how-to-compile-simple-python-em…
if you prefer answering on stackoverflow.
Additionally, can I use distutils to find paths like
`C:\Python27\include`, so that my codes can be portable?
--
http://ysar.net/
Hello,
I'd like to get (programmatically) the directory where the scripts have
been copied after doing "install".
I know that "install_scripts" has a method called "get_outputs" that
retrieves a list with all the destinations. However, when "easy_install"
is called as part of "install", "install_scripts.get_outputs()" returns
the location within the egg. I'd like to know how to retrieve the
outputs for the final step in which those are moved to the final
location.
Any thoughts?
Thanks in advance,
Jose.
I'm having trouble using pkg_resources.get_distribution, and I'm not
sure if it's because what I'm trying to do is unsupported (likely) or
if I'm doing something wrong (also possible :-()
I have a wheel file - essentially a zip file containing a
distribution, plus a dist-info directory. If I put that zipfile on
sys.path, I can import from it with no issues. However, if I try to do
pkg_resources.get_distribution to find the distribution contained in
that wheel/zipfile I get nothing back.
Is this a bug, or an unsupported feature, or should I do something
particular to make it work?
Thanks,
Paul
Hello setuptools developers,
I'm attempting to package the newest setuptools package on Solaris 9
and 10. One of the limitations of the Solaris package manager (the old
one, pkgadd/pkgrm), is that it is unable to handle file names with
spaces. Would you mind renaming "script template.py" to something like
"script_template.py"?
Regards,
Maciej
so, take a case like so "pytest-xdist-dev.tar.gz" (or any sdist with "-"
in the project name, and a version starting with a string)
I think it's like so:
- pkg_resources.Distribution.from_location will treat "xdist-dev" as the
version.
- distlib.util.split_filename won't parse it because versions have to start
with [0-9].
- pip will accept this as a "pytest" archive and install it potentially if
no other version matches greater.
what's the right answer?
The historical-compatible answer is to be confused when projects have "-".
so stay confused? or get rigid like distlib?
Marcus