Comments (5)
Inded It would be nice to have the same for guiqwt-tests :)
from guidata.
I propose to rename them this way:
guidata-tests-py2 and guidata-tests-py3, respectively for Python 2 and Python 3
from guidata.
Ok, I guess that you would have to patch setup.py when building the debian package?
Because I don't know how to (and if it's even possible to) build a single source package containing both scripts (guidata-tests-py2 and guidata-tests-py3) and install the script that match target Python version. As far as I know, the only way to do that would be to build specific source packages (one for Python 2, one for Python 3).
from guidata.
In spyder I think that the trick is implented
in the setup.py you have
# Check for Python 3
PY3 = sys.version_info[0] == 3
# NOTE: the '[...]_win_post_install.py' script is installed even on non-Windows
# platforms due to a bug in pip installation process (see Issue 1158)
SCRIPTS = ['%s_win_post_install.py' % NAME]
if PY3 and sys.platform.startswith('linux'):
SCRIPTS.append('spyder3')
else:
SCRIPTS.append('spyder')
Is it what you need ?
from guidata.
Nevermind... I was tired and somehow forgot about the distinction between MANIFEST.in
and setup.py
: by including all the scripts (linux, Windows, Python 2, Python 3) in MANIFEST.in
, files will be included in source package even if setup.py does not include them (because setup.py
will include only the files corresponding to the Python version used to build the package).
from guidata.
Related Issues (20)
- No module named 'guidata.qt' error HOT 2
- supporting Python-3.10 ? HOT 5
- No module named 'qtpy.py3compat' HOT 5
- guidata conda-forge package currently broken HOT 3
- Incompatibility with Python 3.11 HOT 2
- [Errno 2] No such file or directory: 'doc/dev/v2_to_v3.csv'. HOT 2
- Test suite: missing dependencies (pandas, Pillow) HOT 3
- [3.0.1] the doc is missing HOT 3
- [3.0.1] pyproject.toml/setuptools: automatic package discovery does not work on debian HOT 4
- [3.0.2] sphinx doc hang when building on the Debian infra HOT 3
- [3.0.2] there is no more guidata-test script HOT 4
- Add guidata-tests.desktop file to repository HOT 6
- QVariant import erroneously used in typing annotations HOT 1
- Missing attribute error using the Dockable Console widget HOT 1
- JSONReader/Deserializing object list: TypeError: 'NoneType' object is not subscriptable
- Windows: `gettext` translation is not working on frozen applications
- Windows/Qt console: output encoding is not detected on frozen applications
- PermissionError: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/guidata/tests/data/genreqs/requirements.rst' HOT 3
- Random segmentation faults with applications embedding `CodeEditor`
- unit test leave files during the build usr/lib/python3/dist-packages/test.json HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from guidata.