Skip to content

Commit a61a2d2

Browse files
committed
limit requirements and fix travis
1 parent bb10ad7 commit a61a2d2

File tree

4 files changed

+147
-33
lines changed

4 files changed

+147
-33
lines changed

.gitignore

Lines changed: 132 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,135 @@
1+
# Byte-compiled / optimized / DLL files
12
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
211
build/
12+
develop-eggs/
313
dist/
4-
beta_code.egg-info/
5-
*.pyc
14+
downloads/
15+
eggs/
16+
.eggs/
17+
lib/
18+
lib64/
19+
parts/
20+
sdist/
21+
var/
22+
wheels/
23+
pip-wheel-metadata/
24+
share/python-wheels/
25+
*.egg-info/
26+
.installed.cfg
27+
*.egg
28+
MANIFEST
29+
30+
# PyInstaller
31+
# Usually these files are written by a python script from a template
32+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
33+
*.manifest
34+
*.spec
35+
36+
# Installer logs
37+
pip-log.txt
38+
pip-delete-this-directory.txt
39+
40+
# Unit test / coverage reports
41+
htmlcov/
42+
.tox/
43+
.nox/
44+
.coverage
45+
.coverage.*
46+
.cache
47+
nosetests.xml
48+
coverage.xml
49+
*.cover
50+
*.py,cover
51+
.hypothesis/
52+
.pytest_cache/
53+
cover/
54+
55+
# Translations
56+
*.mo
57+
*.pot
58+
59+
# Django stuff:
60+
*.log
61+
local_settings.py
62+
db.sqlite3
63+
db.sqlite3-journal
64+
65+
# Flask stuff:
66+
instance/
67+
.webassets-cache
68+
69+
# Scrapy stuff:
70+
.scrapy
71+
72+
# Sphinx documentation
73+
docs/_build/
74+
75+
# PyBuilder
76+
target/
77+
78+
# Jupyter Notebook
79+
.ipynb_checkpoints
80+
81+
# IPython
82+
profile_default/
83+
ipython_config.py
84+
85+
# pyenv
86+
# For a library or package, you might want to ignore these files since the code is
87+
# intended to run in multiple environments; otherwise, check them in:
88+
# .python-version
89+
90+
# pipenv
91+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
93+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
94+
# install all needed dependencies.
95+
#Pipfile.lock
96+
97+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
98+
__pypackages__/
99+
100+
# Celery stuff
101+
celerybeat-schedule
102+
celerybeat.pid
103+
104+
# SageMath parsed files
105+
*.sage.py
106+
107+
# Environments
108+
.env
109+
.venv
110+
env/
111+
venv/
112+
ENV/
113+
env.bak/
114+
venv.bak/
115+
116+
# Spyder project settings
117+
.spyderproject
118+
.spyproject
119+
120+
# Rope project settings
121+
.ropeproject
122+
123+
# mkdocs documentation
124+
/site
125+
126+
# mypy
127+
.mypy_cache/
128+
.dmypy.json
129+
dmypy.json
130+
131+
# Pyre type checker
132+
.pyre/
133+
134+
# pytype static type analyzer
135+
.pytype/

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ language: python
22
python:
33
- "2.7"
44
- "3.6"
5+
install: skip
56
script:
67
- cd tests/ && python -m unittest test_beta_code

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ git commit
4747
* Install dependencies:
4848

4949
```bash
50-
pip install -r requirements.txt
50+
python3 -m venv venv
51+
. ./venv/bin/activate
52+
pip3 install -r requirements.txt
5153
```
5254

5355
* Bump version in `setup.py`

requirements.txt

Lines changed: 11 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,18 @@
1-
absl-py==0.7.0
2-
astor==0.7.1
3-
bleach==3.1.0
4-
certifi==2018.11.29
1+
bleach==3.1.1
2+
certifi==2019.11.28
53
chardet==3.0.4
6-
docutils==0.15.2
7-
fire==0.1.3
8-
gast==0.2.2
9-
grpcio==1.18.0
10-
h5py==2.9.0
11-
idna==2.8
4+
docutils==0.16
5+
idna==2.9
126
importlib-metadata==1.5.0
13-
isodate==0.6.0
14-
Keras-Applications==1.0.7
15-
Keras-Preprocessing==1.0.9
167
keyring==21.1.0
17-
Markdown==3.0.1
18-
numpy==1.16.1
19-
pkginfo==1.4.2
20-
protobuf==3.6.1
21-
Pygments==2.4.2
22-
pyparsing==2.4.0
23-
rdflib==4.2.2
8+
pkginfo==1.5.0.1
9+
Pygments==2.5.2
2410
readme-renderer==24.0
25-
regex==2017.4.5
26-
requests==2.21.0
27-
requests-toolbelt==0.8.0
28-
six==1.12.0
29-
tensorboard==1.12.2
30-
tensorflow==1.12.0
31-
termcolor==1.1.0
32-
tqdm==4.23.4
11+
requests==2.23.0
12+
requests-toolbelt==0.9.1
13+
six==1.14.0
14+
tqdm==4.43.0
3315
twine==3.1.1
34-
urllib3==1.24.1
16+
urllib3==1.25.8
3517
webencodings==0.5.1
36-
Werkzeug==0.14.1
3718
zipp==3.1.0

0 commit comments

Comments
 (0)