-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
38 lines (31 loc) · 1.08 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
from setuptools import setup, find_packages
with open("agsadmin/_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.rst") as fin: long_description = fin.read()
packages = find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"])
setup(
name = "agsadmin",
version = __version__,
packages = packages,
#dependencies
install_requires = requirements,
#misc files to include
package_data = {
"": ["LICENSE"]
},
#PyPI MetaData
author = __author__,
description = "ArcGIS Server REST Admin API Proxy",
long_description = long_description,
license = "BSD 3-Clause",
keywords = "arcgis esri",
url = "https://github.com/DavidWhittingham/agsadmin",
classifiers=(
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python"
),
zip_safe = False
)