forked from b-cube/semantics-preprocessing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (47 loc) · 1.57 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
from setuptools import setup, find_packages
import semproc
from setuptools.command.test import test as TestCommand
import sys
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
readme = open('README.md').read()
reqs = [line.strip() for line in open('basic_requirements.txt')]
setup(name='Semantics-Preprocessing',
version=semproc.__version__,
description='Web Service Parsers for B-Cube pipelines',
long_description=readme,
license='MIT',
keywords='opensearch oai-pmh rdf thredds opendap ogc iso 19115 fgdc dif ows wfs wms sos csw wcs capabilities metadata wmts',
author='Soren Scott',
author_email='sorenscott@gmail.com',
maintainer='Soren Scott',
maintainer_email='sorenscott@gmail.com',
url='http://github.io/bcube/semantics-preprocessors',
install_requires=reqs,
cmdclass={'test': PyTest},
packages=find_packages(exclude=["local", "response_examples", "tests"]),
data_files=[
(
"semproc/corpus",
[
'./semproc/corpus/cat_interop_urns.txt',
'./semproc/corpus/namespaces.txt',
'./semproc/corpus/mimetypes.txt',
'./semproc/corpus/excludes_by_contains.txt',
]
),
(
"semproc/configs",
[
"./semproc/configs/ogc_parameters.yaml"
]
)
]
)