update version to 1.1.1.
This commit is contained in:
parent
4d87b55b40
commit
8588c6ce70
1
mdrsclient/VERSION
Normal file
1
mdrsclient/VERSION
Normal file
@ -0,0 +1 @@
|
|||||||
|
1.1.1
|
@ -1,8 +1,8 @@
|
|||||||
import os
|
import os
|
||||||
|
|
||||||
here = os.path.realpath(os.path.dirname(__file__))
|
here = os.path.realpath(os.path.dirname(__file__))
|
||||||
__all__ = ["__version__"]
|
|
||||||
|
|
||||||
|
with open(os.path.join(here, "VERSION")) as version_file:
|
||||||
with open(os.path.join(os.path.dirname(here), "VERSION")) as version_file:
|
|
||||||
__version__ = version_file.read().strip()
|
__version__ = version_file.read().strip()
|
||||||
|
|
||||||
|
__all__ = ["__version__"]
|
||||||
|
12
setup.py
12
setup.py
@ -3,10 +3,9 @@ from typing import Final
|
|||||||
|
|
||||||
from setuptools import find_packages, setup
|
from setuptools import find_packages, setup
|
||||||
|
|
||||||
BASE_DIR: Final[str] = os.path.abspath(os.path.dirname(__file__))
|
from mdrsclient import __version__
|
||||||
|
|
||||||
with open(os.path.join(BASE_DIR, "VERSION")) as f:
|
BASE_DIR: Final[str] = os.path.realpath(os.path.dirname(__file__))
|
||||||
__version__ = f.read().strip()
|
|
||||||
|
|
||||||
with open(os.path.join(BASE_DIR, "requirements.txt")) as f:
|
with open(os.path.join(BASE_DIR, "requirements.txt")) as f:
|
||||||
__requirements__ = f.read().splitlines()
|
__requirements__ = f.read().splitlines()
|
||||||
@ -34,12 +33,7 @@ setup(
|
|||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
package_data={
|
package_data={
|
||||||
"": [
|
"mdrsclient": ["VERSION"],
|
||||||
os.path.join(BASE_DIR, "README.md"),
|
|
||||||
os.path.join(BASE_DIR, "LICENSE"),
|
|
||||||
os.path.join(BASE_DIR, "VERSION"),
|
|
||||||
os.path.join(BASE_DIR, "requirements.txt"),
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
install_requires=__requirements__,
|
install_requires=__requirements__,
|
||||||
entry_points={"console_scripts": ["mdrs=mdrsclient.__main__:main"]},
|
entry_points={"console_scripts": ["mdrs=mdrsclient.__main__:main"]},
|
||||||
|
Loading…
Reference in New Issue
Block a user