-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
63 lines (59 loc) · 1.66 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
"""
setup.py
A module that installs projectname as a module
"""
from pathlib import Path
from setuptools import find_packages, setup
#: Load version from source file
version = {}
version_file = Path(__file__).parent / "src" / "projectname" / "version.py"
exec(version_file.read_text(), version)
setup(
name="projectname",
version=version["__version__"],
license="MIT",
description="Project description.",
long_description=(Path(__file__).parent / "README.md").read_text(),
long_description_content_type="text/markdown",
author="UGRC",
author_email="ugrc-developers@utah.gov",
url="https://github.com/agrc/python",
packages=find_packages("src"),
package_dir={"": "src"},
include_package_data=True,
zip_safe=True,
classifiers=[
# complete classifier list: http://pypi.python.org/pypi?%3Aaction=list_classifiers
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Topic :: Utilities",
],
project_urls={
"Issue Tracker": "https://github.com/agrc/python/issues",
},
keywords=["gis"],
install_requires=[
# 'package==1.0.*'
],
extras_require={
"tests": [
"pytest-cov==6.*",
"pytest-instafail==0.5.*",
"pytest-mock==3.*",
"pytest-watch==4.*",
"pytest==8.*",
"ruff==0.*",
],
},
setup_requires=[
"pytest-runner",
],
entry_points={
"console_scripts": [
"command_name = projectname.module:function",
]
},
)