v0.6.3-a2, added __version__, version in pypi is now dynamic.
This commit is contained in:
parent
f22ca680ca
commit
d85c796dcc
4 changed files with 18 additions and 4 deletions
|
@ -1,7 +1,10 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## 0.6.x
|
## 0.6.x
|
||||||
### 0.6.3a1
|
### 0.6.3-a2
|
||||||
|
- Adding __version__ to `__init__.py` so version is automaticly updated in program as well as pypi.
|
||||||
|
|
||||||
|
### 0.6.3-a1
|
||||||
- Adding postfix a to indicate alpha version, making it clear that it is in an early state
|
- Adding postfix a to indicate alpha version, making it clear that it is in an early state
|
||||||
|
|
||||||
### 0.6.2
|
### 0.6.2
|
||||||
|
|
|
@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "optima35"
|
name = "optima35"
|
||||||
version = "0.6.3-a1"
|
dynamic = ["version"]
|
||||||
authors = [{ name = "Mr. Finchum" }]
|
authors = [{ name = "Mr. Finchum" }]
|
||||||
description = "OPTIMA35 is a package to modify images with pillow and piexif."
|
description = "OPTIMA35 is a package to modify images with pillow and piexif."
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
@ -18,3 +18,12 @@ classifiers = [
|
||||||
|
|
||||||
[project.urls]
|
[project.urls]
|
||||||
Homepage = "https://gitlab.com/CodeByMrFinchum/optima35"
|
Homepage = "https://gitlab.com/CodeByMrFinchum/optima35"
|
||||||
|
|
||||||
|
[project.scripts]
|
||||||
|
optima35 = "optima35.__main__:main"
|
||||||
|
|
||||||
|
[tool.hatch.build.targets.wheel]
|
||||||
|
packages = ["src/optima35"]
|
||||||
|
|
||||||
|
[tool.hatch.version]
|
||||||
|
path = "src/optima35/__init__.py"
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
__version__ = "0.6.3-a2"
|
|
@ -2,11 +2,12 @@ import re
|
||||||
import os
|
import os
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from optima35.image_handler import ImageProcessor, ExifHandler
|
from optima35.image_handler import ImageProcessor, ExifHandler
|
||||||
|
from optima35 import __version__
|
||||||
|
|
||||||
class OptimaManager:
|
class OptimaManager:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.name = "OPTIMA-35"
|
self.name = "OPTIMA35"
|
||||||
self.version = "0.6.3-a1"
|
self.version = __version__
|
||||||
self.image_processor = ImageProcessor()
|
self.image_processor = ImageProcessor()
|
||||||
self.exif_handler = ExifHandler()
|
self.exif_handler = ExifHandler()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue