mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-17 20:54:38 +03:00
- Set aqt version by version.py generation - Drop importlib and pkg_resources chunks of code Signed-off-by: Hiroshi Miura <miurahr@linux.com>
13 lines
306 B
Python
13 lines
306 B
Python
#!/usr/bin/env python
|
|
|
|
from setuptools import setup
|
|
|
|
setup(
|
|
use_scm_version={
|
|
"write_to": "aqt/version.py",
|
|
"write_to_template": '__version__ = "{version}"',
|
|
"tag_regex": r"^(?P<prefix>v)?(?P<version>[^\+]+)(?P<suffix>.*)?$",
|
|
"local_scheme": "no-local-version",
|
|
}
|
|
)
|