This repository has been archived by the owner on Jan 13, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
43 lines (39 loc) · 1.88 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# ----------------------------------------------------------------------------------------------------------------------
# - Package Imports -
# ----------------------------------------------------------------------------------------------------------------------
# General Packages
import setuptools
# Custom Packages
# ----------------------------------------------------------------------------------------------------------------------
# - Code -
# ----------------------------------------------------------------------------------------------------------------------
def readme_handler() -> str:
with open("README.md", "r") as readme_file:
return readme_file.read()
def version_handler() -> str:
# ------------------------------------------------------------------------------------------------------------------
version = 2,4,0 # <-- DEFINE THE VERSION IN A TUPLE FORMAT HERE
# ------------------------------------------------------------------------------------------------------------------
return ".".join(str(i) for i in version)
# ------------------------------------------------------------------------------------------------------------------
if __name__ == '__main__':
setuptools.setup(
name="AthenaLib",
version=version_handler(),
author="Andreas Sas",
author_email="",
description="A Library for Directive Athena related Python Packages",
long_description=readme_handler(),
long_description_content_type="text/markdown",
url="https://github.com/DirectiveAthena/AthenaLib",
project_urls={
"Bug Tracker": "https://github.com/DirectiveAthena/AthenaLib/issues",
},
license="GPLv3",
package_dir={"": "src"},
packages=setuptools.find_packages(where="src"),
python_requires=">=3.11",
install_requires=[
"numpy>=1.23.4"
]
)