forked from gem/oq-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
36 lines (31 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
import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "openquake",
version = "0.7.0",
author = "The OpenQuake team",
author_email = "[email protected]",
description = ("Computes hazard, risk and socio-economic impact of "
"earthquakes."),
license = "AGPL3",
keywords = "earthquake seismic hazard risk",
url = "http://openquake.org/",
long_description=read('openquake/README'),
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Utilities",
],
packages = find_packages(exclude=['bin', 'bin.*', 'qa_tests', 'tools', "tests", "tests.*", ".*oqpath.*", "openquake.nrml.tests", "openquake.nrml.tests.*" ]),
include_package_data=True,
package_data={'openquake': ['db/schema/*',
'nrml/schema/hazard/*', 'nrml/schema/risk/*', 'nrml/schema/gml/*',
'nrml/schema/GML-SimpleFeaturesProfileSchema.xsd',
'nrml/schema/nrml_common.xsd', 'nrml/schema/nrml.xsd',
'nrml/schema/xlinks/*', 'logging.cfg', 'openquake.cfg', 'README', 'LICENSE' ]},
scripts = [
"bin/openquake", "bin/oq_create_db", "bin/oq_cache_gc",
"bin/oq_restart_workers", "bin/oq_monitor", "bin/oq_log_sink",
"bin/oq_check_monitors"],
)