-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
63 lines (57 loc) · 2.17 KB
/
setup.py
File metadata and controls
63 lines (57 loc) · 2.17 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
"""
Setup.py for PyMapAccuracy package.
This file provides backward compatibility for environments that require setup.py.
The canonical package configuration is in pyproject.toml.
"""
import os
from setuptools import find_packages, setup
# Read the contents of README file
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
# Read requirements
with open(os.path.join(this_directory, "requirements.txt"), encoding="utf-8") as f:
requirements = [
line.strip() for line in f if line.strip() and not line.startswith("#")
]
setup(
name="pymapaccuracy",
version="0.1.0",
author="Andrew Copenhaver",
author_email="andrew.copenhaver@example.edu", # Replace with actual email
description="A package for calculating thematic map accuracy and area under stratified random sampling.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/acopenhaver/PyMapAccuracy", # Replace with actual repo
project_urls={
"Bug Tracker": "https://github.com/acopenhaver/PyMapAccuracy/issues",
"Documentation": "https://github.com/acopenhaver/PyMapAccuracy",
"Source Code": "https://github.com/acopenhaver/PyMapAccuracy",
},
package_dir={"": "src"},
packages=find_packages(where="src"),
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: GIS",
"Topic :: Scientific/Engineering :: Information Analysis",
],
python_requires=">=3.10",
install_requires=requirements,
keywords=[
"thematic map",
"accuracy",
"stratified sampling",
"remote sensing",
"GIS",
],
license="MIT",
include_package_data=True,
zip_safe=False,
)