[issue15419] distutils: build should use a version-specific build directory

2020-10-22 Thread Éric Araujo

Éric Araujo  added the comment:

setuptools is recommended over distutils, and doesn’t have the issue (per 
previous messages).

--
assignee: eric.araujo -> 
resolution:  -> wont fix
stage: needs patch -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15419] distutils: build should use a version-specific build directory

2014-03-13 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
components: +Distutils -Distutils2
stage:  - needs patch
title: distutils2: build should use a version-specific build directory - 
distutils: build should use a version-specific build directory
versions: +Python 3.5 -3rd party, Python 3.4

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15419
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15419] distutils: build should use a version-specific build directory

2012-09-17 Thread Ronald Oussoren

Ronald Oussoren added the comment:

I don't think this is a bugfix, but a new feature and as such the behavior 
should only be changed for 3.4.

The easiest workaround for this issue is to use setuptools or distribute when 
installing, as those tools do set the various build directories to 
version-specific values.

--
type:  - behavior

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15419
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15419] distutils: build should use a version-specific build directory

2012-09-15 Thread Arfrever Frehtes Taifersar Arahesis

Arfrever Frehtes Taifersar Arahesis added the comment:

Changing of name of subdirectory would break e.g. shell scripts, which set 
PYTHONPATH=build/lib when calling Python scripts, so this change rather should 
not be made in micro releases.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15419
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15419] distutils: build should use a version-specific build directory

2012-09-14 Thread Ronald Oussoren

Ronald Oussoren added the comment:

I'd change the name of the subdirectories of build instead of the name of the 
build directory itself. That way distutils will still create one build 
directory regardless of how many python versions you use, and the name of that 
directory is easily predicatble (which is nice when using basic tools to clean 
up a directory).

The distribute/setuptools projects do this as well, and implementing this 
should only require a fairly trival patch to distutils.commands.build (the 
defaults for the various build_ directories need to be updated).

BTW. How likely is the acceptance of such a patch? IIRC distutils is more or 
less closed for development w.r.t. new features. Would that also apply to this 
feature request?

--
nosy: +ronaldoussoren

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15419
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15419] distutils: build should use a version-specific build directory

2012-09-14 Thread Éric Araujo

Éric Araujo added the comment:

 I'd change the name of the subdirectories of build instead of the name of the 
 build directory itself.
Yep that’s what I was thinking about (or if I wasn’t, I should have been :)

 IIRC distutils is more or less closed for development w.r.t. new features.
Not more or less: it is frozen.  The only exceptions are changes required by 
other changes like the pycache or ABI tag PEPs.

 Would that also apply to this feature request?
If we agree this is a bug, we can fix it.  What do RMs think?

--
nosy: +benjamin.peterson, georg.brandl

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15419
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15419] distutils: build should use a version-specific build directory

2012-09-10 Thread Éric Araujo

Éric Araujo added the comment:

 It seems to me this is just a special case of the more general issue of 
 building multiple versions of the
 same distribution, say with multiple versions of Python 2.  In general, 
 anytime you change your build
 environment, you should start with no existing build directory.

Maybe Distutils could do that for you.

 Distutils doesn't keep track of every change you might make in a build 
 environment between invocations
 of setup.py.

Could you detail what you mean with “change in a build environment”?  
Timestamps are tracked, C headers dependencies too, changes to setup.py (and 
maybe setup.cfg too), so I think it wouldn’t be a stretch to also track the 
Python version used to run setup.py.  On the other hand, even with the same 
version there can be differences in the command-line options, the available 
modules (using Pythons with the same version from different virtual 
environments), etc.  Anyway, using one build directory per version (X.Y.Z) 
could easily solve a part of these issues.

What do people think?

--
title: distutils: build_py_2to3 should use a separate build directory - 
distutils: build should use a version-specific build directory
versions: +Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15419
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15419] distutils: build should use a version-specific build directory

2012-09-10 Thread Arfrever Frehtes Taifersar Arahesis

Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:


--
nosy: +Arfrever

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15419
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15419] distutils: build should use a version-specific build directory

2012-09-10 Thread Arfrever Frehtes Taifersar Arahesis

Arfrever Frehtes Taifersar Arahesis added the comment:

Currently users can run e.g.:
$ python2.7 setup.py build -b build-2.7 install
$ python3.2 setup.py build -b build-3.2 install

If default name of build directory had to be changed, then it would be useful 
to also include name of Python implementation (e.g. build-cpython-2.7).

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15419
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com