Skip to content
Commit 21950bfc authored by momijiame's avatar momijiame
Browse files

wheel: disable universal flag

Currently, universal flag is enabled in setup.cfg.
https://github.com/inducer/pudb/blob/v2015.4.1/setup.cfg#L5

Therefore, setup.py generates universal (= python 2/3 compatible) wheel.
```
$ python --version
Python 3.3.6
$ python setup.py bdist_wheel
$ ls dist
pudb-2015.4.1-py2.py3-none-any.whl
```

However, pudb can't build universal wheel strictly.

When trying to install to python2 environment.
```
$ python --version
Python 2.7.10
$ pip install dist/pudb-2015.4.1-py2.py3-none-any.whl
```

Suffix of '3' is appended to installed command.
```
$ pudb3
Usage: pudb3 [options] SCRIPT-TO-RUN [SCRIPT-ARGUMENTS]

Options:
  -h, --help          show this help message and exit
  -s, --steal-output
  --pre-run=COMMAND   Run command before each program run
```

Because wheel was built by python3 environment.

The command name is fixed by the timing of to build wheel.
https://github.com/inducer/pudb/blob/v2015.4.1/setup.py#L55
parent dd885f39
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment