Skip to content

Commit ca9ffcc

Browse files
author
Ryan Sepassi
committed
Add gitignore, add travis badge, make scripts executable
PiperOrigin-RevId: 212862178
1 parent fb0f203 commit ca9ffcc

File tree

5 files changed

+34
-3
lines changed

5 files changed

+34
-3
lines changed

.gitignore

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Compiled python modules.
2+
*.pyc
3+
4+
# Byte-compiled
5+
_pycache__/
6+
.cache/
7+
8+
# Python egg metadata, regenerated from source files by setuptools.
9+
/*.egg-info
10+
.eggs/
11+
12+
# PyPI distribution artifacts.
13+
build/
14+
dist/
15+
16+
# Tests
17+
.pytest_cache/
18+
19+
# Other
20+
*.DS_Store

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
# TensorFlow Datasets
22

3-
**Note: `tensorflow_datasets` is under development. API unstable.**
3+
**Note: `tensorflow_datasets` is not yet functional and is under active
4+
development. API unstable.**
45

56
TensorFlow Datasets provides many public datasets as `tf.data.Dataset`s.
67

8+
[![Travis](https://img.shields.io/travis/tensorflow/datasets.svg)](https://travis-ci.org/tensorflow/datasets)
9+
710
Installation:
811

912
```

oss_scripts/oss_pip_install.sh

100644100755
File mode changed.

oss_scripts/oss_release.sh

100644100755
+10-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,16 @@ python setup.py sdist
2222
python setup.py bdist_wheel --universal
2323

2424
# Publish to PyPI
25-
echo "Publishing to PyPI"
26-
twine upload dist/*
25+
read -p "Publish? (y/n) " -r
26+
echo
27+
if [[ $REPLY =~ ^[Yy]$ ]]
28+
then
29+
echo "Publishing to PyPI"
30+
twine upload dist/*
31+
else
32+
echo "Skipping upload"
33+
exit 1
34+
fi
2735

2836
# Cleanup
2937
rm -rf build/ dist/ tensorflow_datasets.egg-info/

oss_scripts/oss_tests.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)