File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 2020 python3 -m venv venv
2121 . venv/bin/activate
2222 pip install -r requirements.txt
23+
2324 - save_cache :
2425 paths :
2526 - ./venv
3031 command : |
3132 . venv/bin/activate
3233 python -m unittest test.py
34+
3335 - store_artifacts :
3436 path : test-reports
3537 destination : test-reports
5355 . venv/bin/activate
5456 python setup.py verify
5557 pip install twine
58+
5659 - save_cache :
5760 key : v1-dependency-cache-{{ checksum "setup.py" }}-{{ checksum "Makefile" }}
5861 paths :
@@ -66,10 +69,12 @@ jobs:
6669 echo -e "[pypi]" >> ~/.pypirc
6770 echo -e "username = codertimo" >> ~/.pypirc
6871 echo -e "password = $PYPI_PASSWORD" >> ~/.pypirc
72+
6973 - run :
7074 name : create packages
7175 command : |
7276 make package
77+
7378 - run :
7479 name : upload to pypi
7580 command : |
Original file line number Diff line number Diff line change 11from .model import BERT
2-
3- __version__ = "0.0.1a0"
Original file line number Diff line number Diff line change 11from setuptools import setup , find_packages
22from setuptools .command .install import install
3- from bert_pytorch import __version__
43import os
54import sys
65
6+ __version__ = "0.0.1a0"
7+
78with open ("requirements.txt" ) as f :
89 require_packages = [line [:- 1 ] for line in f ]
910
You can’t perform that action at this time.
0 commit comments