Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
Adding wheel creating to linux build, comment cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rhyolight committed Jan 7, 2015
1 parent 6ec6e30 commit 2a8d011
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
11 changes: 10 additions & 1 deletion ci/travis/after_success-release-linux.sh
Expand Up @@ -32,10 +32,19 @@ sudo pip install twine || exit
echo "Creating distribution files..."
# This release build creates the source distribution. All other release builds
# should not.
python setup.py sdist bdist bdist_wheel || exit
python setup.py sdist bdist || exit

echo "Created the following distribution files:"
ls -l dist

echo "Attempting to upload all distribution files to PyPi..."
twine upload dist/* -u "${PYPI_USERNAME}" -p "${PYPI_PASSWD}"

# I want to create the linux wheel here just to see what gets produced with the
# intent to later upload it to a place other than PyPi, because PyPi rejects
# linux platform wheel files.
# See: https://bitbucket.org/pypa/pypi-metadata-formats/issue/15/enhance-the-platform-tag-definition-for
python setup.py bdist_wheel || exit
echo "Created the following linux platform wheel:"
ls dist/*.whl
echo "Not doing anything with this wheel at this time."
6 changes: 3 additions & 3 deletions setup.py
Expand Up @@ -118,9 +118,9 @@ def setupNupic():
packages = findPackages(repositoryDir)
requires = findRequirements(repositoryDir)

# This is a fake extension meant to fake out wheel to produce
# platform-specific .whl files. Without this, wheel assumed the binary file
# will be platform-independent, and we don't want that.
# This meant to fake out wheel to produce platform-specific .whl files.
# Without this, wheel assumes the binary file will be platform-independent,
# and we don't want that.
fakeExtension = Extension(
"fake-extension",
swig_opts=[],
Expand Down

0 comments on commit 2a8d011

Please sign in to comment.