Skip to content

Commit b094f40

Browse files
committed
22.05.11
1 parent f8e9a68 commit b094f40

File tree

3 files changed

+6
-18
lines changed

3 files changed

+6
-18
lines changed

VERSION

Lines changed: 0 additions & 1 deletion
This file was deleted.

release

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
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

68
SANITY TEST:
79
open new terminal
@@ -10,13 +12,3 @@ conda activate testenv
1012
pip install --force-reinstall --no-cache cppimport
1113
cd tests
1214
python -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

setup.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
from setuptools import setup
22

3-
version = open("VERSION").read()
4-
53
description = open("README.md").read()
64

75
setup(
@@ -11,7 +9,6 @@
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",

0 commit comments

Comments
 (0)