Permalink
Browse files

[BUILD] add support for Python wheel packages

  • Loading branch information...
thomasleveil committed Mar 8, 2015
1 parent 1b32221 commit a0ae9e1296bab6b6d4238fb7573403f04766904b
Showing with 11 additions and 6 deletions.
  1. +1 −1 .travis.yml
  2. +3 −1 build-requirements.txt
  3. +7 −4 setup.cfg
@@ -25,7 +25,7 @@ before_script:
# command to run tests, e.g. python setup.py test
script:
- nosetests --where=tests --verbosity=3
- python setup.py egg_info --tag-build .dev${TRAVIS_COMMIT:0:7} --tag-date sdist bdist_egg
- python setup.py egg_info --tag-build .dev${TRAVIS_COMMIT:0:7} --tag-date sdist bdist_wheel
- python setup.py build_exe
notifications:
@@ -1,9 +1,11 @@
# Python modules needed when building B3 packages
# build tools
pip>=1.4
setuptools>=0.9
wheel>=0.21
cx_Freeze
pyyaml
pip
# popular 3rd party plugins requirements to be included in the frozen builds
uuid # metabans ggcstream and telnet plugins
@@ -1,13 +1,16 @@
[aliases]
test = nosetests
dev = clean egg_info --tag-build dev --tag-date sdist bdist_egg
alpha = clean egg_info --tag-build a --tag-date sdist bdist_egg
beta = clean egg_info --tag-build b --tag-date sdist bdist_egg
release = clean egg_info -Db "" sdist bdist_egg
dev = clean egg_info --tag-build dev --tag-date sdist bdist_wheel
alpha = clean egg_info --tag-build a --tag-date sdist bdist_wheel
beta = clean egg_info --tag-build b --tag-date sdist bdist_wheel
release = clean egg_info -Db "" sdist bdist_wheel
[sdist]
formats=zip
[bdist_wheel]
python-tag = py27
[nosetests]
where=tests
#verbosity=2

0 comments on commit a0ae9e1

Please sign in to comment.