-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
77 lines (75 loc) · 2.16 KB
/
Copy pathsetup.py
File metadata and controls
77 lines (75 loc) · 2.16 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# setup.py
from setuptools import find_namespace_packages, find_packages, setup # type: ignore
PACKAGE_EXCLUDES: list[str] = ["*.tests", "*.tests.*", "tests.*", "tests"]
VENDORED_NAMESPACE_EXCLUDES: list[str] = [
"vendor.run_hy8.dist",
"vendor.run_hy8.dist.*",
"vendor.run_hy8.docs",
"vendor.run_hy8.docs.*",
"vendor.run_hy8.scripts",
"vendor.run_hy8.scripts.*",
"vendor.run_hy8.tests",
"vendor.run_hy8.tests.*",
]
packages: list[str] = find_packages(exclude=PACKAGE_EXCLUDES)
packages.extend(
find_namespace_packages(
include=["vendor.run_hy8", "vendor.run_hy8.*"],
exclude=VENDORED_NAMESPACE_EXCLUDES,
)
)
setup(
name="ryan_functions",
# Version scheme: yy.mm.dd.release_number
# Increment when publishing new wheels
version="26.06.25.5",
packages=packages,
include_package_data=True, # Include package data as specified in MANIFEST.in
# package_data={"ryan_library": ["py.typed"]},
install_requires=[
"numpy",
"pandas",
"pyshp",
"geopandas",
"fiona",
"pyarrow",
"fastparquet",
"matplotlib",
"colorama",
"XlsxWriter",
"psutil",
"laspy",
"tqdm",
"rasterio",
"seaborn",
"requests",
"openpyxl",
"loguru",
"tabulate",
"pypdf",
"cryptography>=3.1",
"ezdxf",
"rich",
# "beautifulsoup4",
# Add any dependencies here, e.g., 'numpy', 'pandas'
],
extras_require={
"dev": [
"black",
"pandas-stubs",
"pyright",
],
},
author="Chain Frost",
author_email="chainfrost@outlook.com",
description="Collection of TUFLOW and data processing functions.",
long_description=open("README.md").read(), # Assumes a README.md file is present
long_description_content_type="text/markdown",
url="https://github.com/Chain-Frost/ryan-tools",
classifiers=[
"Programming Language :: Python :: 3.13",
"Operating System :: Windows",
# 'License :: OSI Approved :: MIT License', # Example license
],
python_requires=">=3.12",
)