forked from FinMind/FinMind
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (23 loc) · 919 Bytes
/
Makefile
File metadata and controls
32 lines (23 loc) · 919 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
deploy-github-page:
git clone https://github.com/FinMind/FinMind.git ../finmind-github && \
rm -r -f ../finmind-github/* && \
mv * ../finmind-github/ && \
cp .travis.yml ../finmind-github/ && \
cd ../finmind-github/ && \
git config user.name "sam" && git config user.email "finmind.tw@gmail.com" && \
git remote set-url origin https://gitlabci:${GITHUB_TOKEN}@github.com/FinMind/FinMind.git && \
git add . && git commit -m "${CI_COMMIT_TITLE}" && git tag ${CI_COMMIT_TAG} && \
git push origin master && git push origin ${CI_COMMIT_TAG}
install-python-evn:
apt-get update && \
apt-get install python3-pip -y && \
pip3 install setuptools && \
pip3 install twine
build-dist:
CI_COMMIT_TAG=${CI_COMMIT_TAG} python3 setup.py sdist
upload-pypi:
twine upload -u ${TWINE_USERNAME} -p ${TWINE_PASSWORD} dist/*
req:
pipenv lock --requirements > requirements.txt
linux-wheel:
pip wheel ./ -w wheelhouse/