Skip to content

Commit 2f8f7e2

Browse files
afrozenatorcopybara-github
authored andcommitted
TRAX v.1.4.1 and updates to the release script for python3.
PiperOrigin-RevId: 405721113
1 parent 96cb76c commit 2f8f7e2

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

oss_scripts/oss_release.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,16 @@ git clone https://github.com/google/trax.git
2828
cd trax
2929
git checkout $GIT_COMMIT_ID
3030

31-
python -m pip install wheel twine pyopenssl
31+
python3 -m pip install wheel twine pyopenssl
3232

3333
# Build the distribution
3434
echo "Building distribution"
35-
python setup.py sdist
36-
python setup.py bdist_wheel --universal
35+
python3 setup.py sdist
36+
python3 setup.py bdist_wheel --universal
3737

3838
# Publish to PyPI
3939
echo "Publishing to PyPI"
40-
twine upload dist/*
40+
python3 -m twine upload dist/*
4141

4242
# Cleanup
4343
rm -rf build/ dist/ trax.egg-info/

setup.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16-
# coding=utf-8
1716
# coding=utf-8
1817
"""Install trax."""
1918

@@ -22,7 +21,7 @@
2221

2322
setup(
2423
name='trax',
25-
version='1.4.0',
24+
version='1.4.1',
2625
description='Trax',
2726
long_description=(
2827
'Trax helps you understand deep learning. We start with basic maths and'

0 commit comments

Comments
 (0)