-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathsetup.py
33 lines (30 loc) · 1.09 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
from setuptools import setup, find_packages
def find_version():
import os
with open(os.path.join("open_cp", "__init__.py")) as file:
for line in file:
if line.startswith("__version__"):
start = line.index('"')
end = line[start+1:].index('"')
return line[start+1:][:end]
long_description = ""
setup(
name = 'opencp',
packages = find_packages(include=["open_cp*"]),
version = find_version(),
install_requires = [], # TODO
python_requires = '>=3.5',
description = 'Standardised implementations of crime prediction techniques in the literature',
long_description = long_description,
author = 'QuantCrimAtLeeds',
author_email = '[email protected]',
url = 'https://github.com/QuantCrimAtLeeds/PredictCode',
license = 'Artistic',
keywords = [],
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: Artistic License",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering :: GIS"
]
)