Skip to content

Commit 6557ad9

Browse files
committed
Added make_release script
1 parent e87c0f5 commit 6557ad9

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

release/make_release

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/bin/bash
2+
3+
# See https://packaging.python.org/tutorials/packaging-projects/
4+
5+
# 1) update the version number in setup.cfg
6+
VERSION=0.12
7+
8+
# 2) preparation
9+
sudo python3 -m pip install --upgrade pip setuptools wheel twine
10+
11+
# 3) create a distribution
12+
cd ..
13+
python3 -m build
14+
15+
# 4) show the distribution
16+
ls dist/gambatools-${VERSION}*
17+
18+
# 5) upload the distribution
19+
#python3 -m twine upload --repository pypi dist/gambatools-${VERSION}*

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = gambatools
3-
version = 0.1
3+
version = 0.12
44
author = Wieger Wesselink
55
author_email = j.w.wesselink@tue.nl
66
description = A library for formal language education. It contains support for DFAs, NFAs, PDAs, Turing machines, context free grammars and regular expressions.

0 commit comments

Comments
 (0)