Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3687cca

Browse files
committed
Add build command to makefile.
1 parent e24c9e7 commit 3687cca

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

makefile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,25 @@ readme :
44
@echo ""
55
@less make_instructions.txt
66

7+
build :
8+
@echo making a new distribution zip
9+
@echo deleting all the old things
10+
rm -rf stand_alone_dist/dist/
11+
rm -f stand_alone_dist/dist.zip
12+
@echo grabbing tarballs
13+
mkdir stand_alone_dist/dist/
14+
cd stand_alone_dist/dist; python ../../build_utils/get_core_requirements_links.py | xargs -n1 curl -O
15+
python setup.py sdist --dist-dir stand_alone_dist/dist
16+
@echo unpacking tarballs
17+
cd stand_alone_dist/dist; ls | xargs -n1 tar -xf
18+
@echo renaming packages so they install in order
19+
python build_utils/rename_dist_packages.py
20+
@echo making a downloadable zip
21+
cd stand_alone_dist; zip -r dist.zip dist
22+
@echo cleaning up
23+
rm -rf stand_alone_dist/dist
24+
@echo all done, have an ok day
25+
726
setup_subs :
827
@echo "Deleting old submodule locations, if they exist"
928
rm -rf plotly/graph_reference

0 commit comments

Comments
 (0)