Fix setup.py, bump version

pull/2/head
Mark Jessop 2020-07-04 20:12:30 +09:30
rodzic fef3379b7d
commit 6fd0e77f3c
3 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -1 +1 @@
__version__ = "0.1.0" __version__ = "0.1.1"

Wyświetl plik

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "horusdemodlib" name = "horusdemodlib"
version = "0.1.0" version = "0.1.1"
description = "Project Horus HAB Telemetry Demodulators" description = "Project Horus HAB Telemetry Demodulators"
authors = ["Mark Jessop"] authors = ["Mark Jessop"]
license = "LGPL-2.1-or-later" license = "LGPL-2.1-or-later"

Wyświetl plik

@ -4,7 +4,7 @@ from setuptools import setup, find_packages
regexp = re.compile(r".*__version__ = [\'\"](.*?)[\'\"]", re.S) regexp = re.compile(r".*__version__ = [\'\"](.*?)[\'\"]", re.S)
init_file = os.path.join(os.path.dirname(__file__), "src", "horusdemodlib", "__init__.py") init_file = os.path.join(os.path.dirname(__file__), "horusdemodlib", "__init__.py")
with open(init_file, "r") as f: with open(init_file, "r") as f:
module_content = f.read() module_content = f.read()
match = regexp.match(module_content) match = regexp.match(module_content)
@ -34,8 +34,8 @@ if __name__ == "__main__":
version=version, version=version,
install_requires=requirements, install_requires=requirements,
keywords=["horus modem telemetry radio"], keywords=["horus modem telemetry radio"],
package_dir={"": "src"}, package_dir={"": "."},
packages=find_packages("src"), packages=find_packages("."),
classifiers=[ classifiers=[
"Intended Audience :: Developers", "Intended Audience :: Developers",
"Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.6",