File tree Expand file tree Collapse file tree 3 files changed +15
-9
lines changed
Expand file tree Collapse file tree 3 files changed +15
-9
lines changed Original file line number Diff line number Diff line change 1- __version__ = '0.7.2'
1+ __version__ = '0.7.2' # Use bumpversion to update
Original file line number Diff line number Diff line change 11[aliases]
22test = pytest
3+
4+ [bumpversion]
5+ current_version = 0.7.2
6+ commit = True
7+ tag = True
8+
9+ [bumpversion:file:setup.py]
10+
11+ [bumpversion:file:mc2skos/__init__.py]
12+
13+ [bdist_wheel]
14+ universal = 1
15+
Original file line number Diff line number Diff line change 1414here = os .path .abspath (os .path .dirname (__file__ ))
1515README = open (os .path .join (here , 'README.rst' )).read ()
1616
17- with open ('mc2skos/__init__.py' , 'r' ) as fd :
18- version = re .search (r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]' ,
19- fd .read (), re .MULTILINE ).group (1 )
20-
21- if not version :
22- raise RuntimeError ('Cannot find version information' )
23-
2417setup (name = 'mc2skos' ,
25- version = version ,
18+ version = '0.7.2' , # Use bumpversion to update
2619 description = 'Convert Marc21 Classification records in MARC/XML to SKOS/RDF ' ,
2720 long_description = README ,
2821 classifiers = [
You can’t perform that action at this time.
0 commit comments