mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-03-29 03:43:34 -04:00
Automatically patch version number.
Added a new file generate/version.txt that contains the current Astronomy Engine version number. Now when I run the build/test process, the version number is patched in all the places it needs to be changed to keep all the packages and documentation up to date. This means when I want to change the Astronomy Engine version number, I just need to edit version.txt, then execute the generate/run script.
This commit is contained in:
@@ -2,7 +2,7 @@ from setuptools import setup
|
||||
|
||||
setup(
|
||||
name='astronomy-engine',
|
||||
version='2.1.2',
|
||||
version="2.1.2",
|
||||
description='Astronomy calculation for Sun, Moon, and planets.',
|
||||
long_description=open('README.md').read(),
|
||||
long_description_content_type='text/markdown',
|
||||
|
||||
Reference in New Issue
Block a user