File tree Expand file tree Collapse file tree 3 files changed +12
-8
lines changed Expand file tree Collapse file tree 3 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 1
1
[build-system ]
2
- requires = [" setuptools>=42" , " wheel" ]
2
+ requires = [" setuptools>=42" , " wheel" , " setuptools_scm[toml]>=6.2 " ]
3
3
build-backend = " setuptools.build_meta"
4
4
5
- [tool .setuptools_scm ]
6
- write_to = " pkg/_version.py"
7
5
8
6
# black: https://black.readthedocs.io/en/stable/
9
7
[tool .black ]
Original file line number Diff line number Diff line change 1
1
[metadata]
2
2
name = semi-ate-installer
3
- version = 0.0.1
4
3
description = " Semi ATE Installer package for ATE Projects"
5
- long_description = " "
4
+ long_description = file: README.md
5
+ long_description_content_type = text/markdown; charset=UTF-8; variant=GFM
6
6
author = " The Semi-ATE Project Contributors"
7
7
author_email = " ate.organization@gmail.com"
8
- url =
9
- license =
8
+ url = " https://github.com/Semi-ATE/Semi-ATE-Installer "
9
+ license = " GPL-2.0-only "
10
10
11
11
[options]
12
12
zip_safe = False
13
13
packages = find:
14
14
package_dir =
15
15
=src
16
+ setup_requires =
17
+ setuptools_scm
16
18
python_requires = >=3.9
17
19
install_requires =
18
20
questionary ==1.10.0
Original file line number Diff line number Diff line change 1
1
from setuptools import setup
2
2
3
+ from setuptools .config import read_configuration
4
+ conf_dict = read_configuration ("setup.cfg" )
5
+ PKG_NAME = conf_dict ['metadata' ]['name' ]
6
+
3
7
if __name__ == "__main__" :
4
- setup (use_scm_version = False )
8
+ setup (use_scm_version = True )
You can’t perform that action at this time.
0 commit comments