-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
40 lines (34 loc) · 1.41 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
from setuptools import setup, find_packages
with open('agsconfig/_version.py') as fin:
exec(fin.read(), globals())
with open('requirements.txt') as fin:
requirements = [s.strip() for s in fin.readlines()]
with open('readme.md') as fin:
long_description = fin.read()
packages = find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"])
setup(
name="agsconfig",
version=__version__,
packages=packages,
#dependencies
install_requires=requirements,
#misc files to include
package_data={"": ["LICENSE"]},
#PyPI MetaData
author=__author__,
description=
"Provides classes that can edit ArcGIS service configuration as either running services (ArcGIS Server Admin JSON format) or Service Definition Drafts.",
long_description=long_description,
long_description_content_type="text/markdown",
license="BSD 3-Clause",
keywords="arcgis esri",
url="https://github.com/DavidWhittingham/agsconfig",
classifiers=[
"Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Natural Language :: English",
"License :: OSI Approved :: BSD License", "Programming Language :: Python",
"Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9"
],
zip_safe=False
)