File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 11__title__ = "pproxy"
2- __version__ = "2.4.7"
32__license__ = "MIT"
43__description__ = "Proxy server that can tunnel among remote servers by regex rules."
54__keywords__ = "proxy socks http shadowsocks shadowsocksr ssr redirect pf tunnel cipher ssl udp"
65__author__ = "Qian Wenjie"
7687__url__ = "https://github.com/qwj/python-proxy"
98
9+ try :
10+ from setuptools_scm import get_version
11+ __version__ = get_version ()+ 'dev'
12+ except Exception :
13+ try :
14+ from importlib .metadata import version
15+ __version__ = version ("package-name" )
16+ except Exception :
17+ __version__ = 'unknown'
18+
1019__all__ = ['__version__' , '__description__' , '__url__' ]
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ def find_value(name):
1414
1515setup (
1616 name = find_value ('title' ),
17- version = find_value ( 'version' ) ,
17+ use_scm_version = True ,
1818 description = find_value ('description' ),
1919 long_description = read ('README.rst' ),
2020 url = find_value ('url' ),
You can’t perform that action at this time.
0 commit comments