Don't include meteor build in wheel or sdist builds.

This commit is contained in:
Tyson Clugg 2016-01-06 15:54:58 +11:00
parent e2f9887076
commit 27caf032a6
4 changed files with 13 additions and 21 deletions

8
.gitignore vendored
View file

@ -23,9 +23,9 @@ docs/node_modules/
.cache/ .cache/
.coverage .coverage
.tox/ .tox/
htmlcov/ /htmlcov/
tests/report/ /report/
# meteor # meteor
dddp/test/build/ test/build/
dddp/test/meteor_todos/.meteor/ test/meteor_todos/.meteor/

View file

@ -1,16 +1,18 @@
include LICENSE
include *.rst include *.rst
include *.sh include *.sh
include *.txt include *.txt
include requirements*.txt
include .gitignore include .gitignore
include LICENSE
include requirements*.txt
include Makefile include Makefile
exclude tox.ini
graft tests/meteor_todos
prune tests/build
prune tests/meteor_todos/.meteor/local
graft docs graft docs
graft tests
prune docs/_build prune docs/_build
prune docs/node_modules prune docs/node_modules
prune tests/build
prune tests/meteor_todos/.meteor/local
prune */__pycache__
prune *.pyc
exclude .travis.yml.ok exclude .travis.yml.ok
exclude .travis.yml exclude .travis.yml
exclude tox.ini

View file

@ -127,15 +127,6 @@ class build_meteor(setuptools.command.build_py.build_py):
) )
class build_py(setuptools.command.build_py.build_py):
def run(self):
if build_meteor.has_meteor_builds(self.distribution):
self.reinitialize_command('build_meteor', inplace=False)
self.run_command('build_meteor')
return setuptools.command.build_py.build_py.run(self)
class build_ext(setuptools.command.build_ext.build_ext): class build_ext(setuptools.command.build_ext.build_ext):
def run(self): def run(self):
@ -261,7 +252,6 @@ setuptools.setup(
], ],
cmdclass={ cmdclass={
'build_ext': build_ext, 'build_ext': build_ext,
'build_py': build_py,
'build_meteor': build_meteor, 'build_meteor': build_meteor,
}, },
options={ options={

View file

@ -120,7 +120,7 @@ install_command=sh -c 'pip install -U "setuptools>=18.5" "wheel>=0.25.0" "pip>=7
whitelist_externals=sh whitelist_externals=sh
commands = commands =
check-manifest --ignore "tests/build*,tests/meteor_todos/.meteor/local*" check-manifest
{envpython} setup.py --no-user-cfg sdist --dist-dir={toxinidir}/dist/ {envpython} setup.py --no-user-cfg sdist --dist-dir={toxinidir}/dist/
{envpython} setup.py --no-user-cfg bdist_wheel --dist-dir={toxinidir}/dist/ {envpython} setup.py --no-user-cfg bdist_wheel --dist-dir={toxinidir}/dist/
sh -c "cd docs && sphinx-build -b html -d _build/doctrees -D latex_paper_size=a4 . _build/html" sh -c "cd docs && sphinx-build -b html -d _build/doctrees -D latex_paper_size=a4 . _build/html"