-
Notifications
You must be signed in to change notification settings - Fork 41
/
setup.py
35 lines (33 loc) · 1.28 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
from distutils.core import setup
import os.path
import versioneer
setup(name='libcomcat',
description='USGS ComCat search API in Python',
author='Mike Hearne',
author_email='[email protected]',
url='https://github.com/usgs/libcomcat',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
packages=['libcomcat',
'libcomcat.bin'], # must be here or scripts won't install!
package_data={
'libcomcat':
[os.path.join('data', 'ne_50m_admin_0_countries.prj'),
os.path.join('data', 'ne_50m_admin_0_countries.dbf'),
os.path.join('data', 'ne_50m_admin_0_countries.shp'),
os.path.join('data', 'ne_50m_admin_0_countries.cpg'),
os.path.join('data', 'ne_50m_admin_0_countries.shx'),
]
},
entry_points={
'console_scripts': [
'findid = libcomcat.bin.findid:main',
'getcsv = libcomcat.bin.getcsv:main',
'geteventhist = libcomcat.bin.geteventhist:main',
'getmags = libcomcat.bin.getmags:main',
'getpager = libcomcat.bin.getpager:main',
'getphases = libcomcat.bin.getphases:main',
'getproduct = libcomcat.bin.getproduct:main'
]
}
)