scons build system extension
Project description
SCons extension to provide a recursive target detection and dependency handling mechanism.
Build a development version
Given the fact that we use git as VCS, we can not use the tag_svn_revision feature of egg_info. Therefor we make use of the gitegginfo module.
The following command makes use of it and creates the necessary egg-info directory using the current commit hash appended:
python setup.py gitegginfo –tag-git-desc –tag-build .dev develop
To uninstall a previously installed development version you need to use the following command:
python setup.py develop –uninstall
Run tests
Test can either be run the conventional way using the default test framework:
python setup.py test
or by using nose which is a build dependency of the module calling:
python setup.py nosetests –with-xunit –where tests/
The latter is required if you need to get test results in junit xml style to be analyzed by jenkins for example.
Create a source/wheel package
For a short packaging guide check this page: http://python-packaging-user-guide.readthedocs.org/en/latest/tutorial.html For a short tutorial on wheels check this page: http://wheel.readthedocs.org/en/latest/
python setup.py bdist_wheel
To combine source distribution, wheel creation and uploading to PYPI you could use the following command:
python setup.py sdist bdist_wheel upload
Overview of available commands
To get an overview of available commands use:
python setup.py –help-commands
Help regarding a specific command can be retrieved using:
python setup.py <command> –help
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for SConsider-0.3.4-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b50839754820460314610630123ca8d7900c896e57f7cb88b3f8a746ae952c4 |
|
MD5 | 46d445300d803b286d37366d92ad72ec |
|
BLAKE2b-256 | 25e2bd9f78f82d4af13c84c330e3e0aa544b3fdfc6e01545fbccffe261913473 |