Skip to content

Commit

Permalink
TRAX v.1.4.1 and updates to the release script for python3.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 405721113
  • Loading branch information
afrozenator authored and copybara-github committed Oct 26, 2021
1 parent 96cb76c commit 2f8f7e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions oss_scripts/oss_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@ git clone https://github.com/google/trax.git
cd trax
git checkout $GIT_COMMIT_ID

python -m pip install wheel twine pyopenssl
python3 -m pip install wheel twine pyopenssl

# Build the distribution
echo "Building distribution"
python setup.py sdist
python setup.py bdist_wheel --universal
python3 setup.py sdist
python3 setup.py bdist_wheel --universal

# Publish to PyPI
echo "Publishing to PyPI"
twine upload dist/*
python3 -m twine upload dist/*

# Cleanup
rm -rf build/ dist/ trax.egg-info/
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# coding=utf-8
# coding=utf-8
"""Install trax."""

Expand All @@ -22,7 +21,7 @@

setup(
name='trax',
version='1.4.0',
version='1.4.1',
description='Trax',
long_description=(
'Trax helps you understand deep learning. We start with basic maths and'
Expand Down

0 comments on commit 2f8f7e2

Please sign in to comment.