File tree Expand file tree Collapse file tree 3 files changed +6
-18
lines changed
Expand file tree Collapse file tree 3 files changed +6
-18
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- PUBLISH TO PYPI:
2- update the version number in VERSION with calver: yy.mm.dd
3- python setup.py sdist
4- twine upload dist/cppimport-VERSION.tar.gz
1+ GIT:
2+ git commit -m "yy.mm.dd"
3+ git tag yy.mm.dd
4+ git push --atomic origin stable yy.mm.dd
5+ wait for github action to complete
6+ create release on github
57
68SANITY TEST:
79open new terminal
@@ -10,13 +12,3 @@ conda activate testenv
1012pip install --force-reinstall --no-cache cppimport
1113cd tests
1214python -c 'import cppimport; assert(cppimport.imp("mymodule").add(1,2) == 3);'
13-
14- GIT:
15- git commit -m "yy.mm.dd"
16- git push
17- git tag yy.mm.dd
18- git push origin yy.mm.dd
19- create release on github
20-
21- TODO:
22- automate most of this via github actions
Original file line number Diff line number Diff line change 11from setuptools import setup
22
3- version = open ("VERSION" ).read ()
4-
53description = open ("README.md" ).read ()
64
75setup (
119 install_requires = ["mako" , "pybind11" ],
1210 zip_safe = False ,
1311 name = "cppimport" ,
14- version = version ,
1512 description = "Import C++ files directly from Python!" ,
1613 long_description = description ,
1714 long_description_content_type = "text/markdown" ,
You can’t perform that action at this time.
0 commit comments