-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
65 lines (59 loc) · 1.53 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
64
65
# -*- coding: utf-8 -*-
"""
Slingshot
=========
Create and submit bags to kepler.
"""
import io
import re
from setuptools import find_packages, setup
with io.open('LICENSE') as f:
license = f.read()
with io.open('slingshot/__init__.py', 'r') as fp:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fp.read(),
re.MULTILINE).group(1)
setup(
name='slingshot',
version=version,
description='Create and submit bags',
long_description=__doc__,
url='https://github.com/MITLibraries/slingshot',
license=license,
author='Mike Graves',
author_email='mgraves@mit.edu',
packages=find_packages(exclude=['tests']),
install_requires=[
'arrow',
'bagit',
'click',
'geoalchemy2',
'geomet',
'plyplus',
'psycopg2',
'pyshp',
'requests',
],
setup_requires=[
'pytest-runner',
],
tests_require=[
'pytest',
'requests-mock',
],
entry_points={
'console_scripts': [
'slingshot = slingshot.cli:main',
]
},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Environment :: Console',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
]
)