File tree Expand file tree Collapse file tree 5 files changed +6
-12
lines changed
Expand file tree Collapse file tree 5 files changed +6
-12
lines changed Original file line number Diff line number Diff line change 11include LICENSE
22include README.md
3- include VERSION.txt
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2121copyright = "2022, " + author
2222
2323# The full version, including alpha/beta/rc tags
24- with open ("../VERSION.txt" , "r" ) as f :
25- release = f .read ().strip ()
24+ with open ('../inflation/_version.py' ) as f :
25+ exec (f .read ())
26+ release = __version__
2627
2728# -- General configuration ---------------------------------------------------
2829
Original file line number Diff line number Diff line change 1- import os
2-
3- directory_of_this_file = os .path .dirname (os .path .abspath (__file__ ))
4-
5- with open (f"{ directory_of_this_file } /../VERSION.txt" , "r" ) as f :
6- __version__ = f .read ().strip ()
1+ __version__ = "1.0.0"
Original file line number Diff line number Diff line change 11from setuptools import setup , find_packages
22
3- with open ("VERSION.txt" , "r" ) as f :
4- __version__ = f .read (). strip ( )
3+ with open ('inflation/_version.py' ) as f :
4+ exec ( f .read ())
55
66setup (
77 name = "inflation" ,
You can’t perform that action at this time.
0 commit comments