Issue16729
Created on 2012-12-19 13:44 by techtonik, last changed 2022-04-11 14:57 by admin. This issue is now closed.
| Messages (3) | |||
|---|---|---|---|
| msg177742 - (view) | Author: anatoly techtonik (techtonik) | Date: 2012-12-19 13:44 | |
The way to override defaults for setup.py commands is not documented. For example, to change to name of build and dist dirs from setup.py, the following entry should be added to setup parameters:
options={
'build': {'build_base': '__build__'},
'sdist': {'dist_dir': '__build__/dist'},
}
An example would be extremely helpful at
http://docs.python.org/2/install/index.html#how-building-works
tag:easy
http://thread.gmane.org/gmane.comp.python.distutils.devel/16434
issue16299
|
|||
| msg223121 - (view) | Author: Mark Lawrence (BreamoreBoy) * | Date: 2014-07-15 17:05 | |
@Eric could you comment on this please. |
|||
| msg223169 - (view) | Author: Éric Araujo (eric.araujo) * | Date: 2014-07-16 04:29 | |
In my opinion it's easier and more common to put default options in a setup.cfg file, rather than in the Python code. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:57:39 | admin | set | github: 60933 |
| 2020-10-22 20:19:12 | eric.araujo | set | status: open -> closed resolution: wont fix stage: resolved |
| 2019-04-26 19:44:12 | BreamoreBoy | set | nosy:
- BreamoreBoy |
| 2014-07-16 04:29:50 | eric.araujo | set | messages: + msg223169 |
| 2014-07-15 17:05:54 | BreamoreBoy | set | versions:
- Python 2.6, Python 3.1, Python 3.2, Python 3.3 nosy: + BreamoreBoy, dstufft messages: + msg223121 components: - Distutils2 |
| 2012-12-19 13:44:01 | techtonik | create | |