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.3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdb266a2cd200ab9dfb89679105f2cf094922559534ce2332c6ac58714369e55 |
|
MD5 | b45e31d5c0c93b5a2970033be30869f7 |
|
BLAKE2b-256 | ac96da878d53cd8f3afb7ecbc79bfacd39e00f8b85fc49046c4e6f2b3b2a1476 |