File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,12 @@ PYTHON_VERSIONS="cp27-cp27m cp35-cp35m"
33
44echo " Compile wheels"
55for PYTHON in ${PYTHON_VERSIONS} ; do
6- /opt/python/${PYTHON} /bin/pip install -r /io/wheels-requirements.txt
7- /opt/python/${PYTHON} /bin/pip wheel /io/ -w /io/wheelhouse/
6+ cd /io
7+ /opt/python/${PYTHON} /bin/pip install -r wheels-requirements.txt
8+ /opt/python/${PYTHON} /bin/pip install -r tests-requirements.txt
9+ /opt/python/${PYTHON} /bin/python setup.py sdist --dist-dir wheelhouse --formats=gztar
10+ /opt/python/${PYTHON} /bin/pip wheel --no-index --no-deps --wheel-dir wheelhouse wheelhouse/* .tar.gz
11+ cd -
812done
913
1014echo " Bundle external shared libraries into the wheels"
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ def build_extension(self, ext):
9090 author_email = 'sebastien@eustace.io' ,
9191 url = 'https://github.com/sdispater/pendulum' ,
9292 download_url = 'https://github.com/sdispater/pendulum/archive/%s.tar.gz' % __version__ ,
93- packages = [ 'pendulum' ] ,
93+ packages = find_packages ( exclude = [ 'tests' ]) ,
9494 install_requires = [
9595 'tzlocal' ,
9696 'pytz' ,
You can’t perform that action at this time.
0 commit comments