-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
36 lines (31 loc) · 1.03 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
from setuptools import setup, find_packages
import mpp
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('requirements.txt')]
setup(
name='metadata-pg-pipeline',
version=mpp.__version__,
description='Intermediate tooling for pushing pipeline (or other) outputs to postgres for ad hoc analysis',
long_description=readme,
license='MIT',
keywords='',
author='Soren Scott',
author_email='[email protected]',
maintainer='Soren Scott',
maintainer_email='[email protected]',
url='http://github.io/b-cube/metadata-pg-pipeline',
install_requires=reqs,
cmdclass={'test': PyTest},
packages=find_packages(exclude=["local", "tests"])
)