-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
50 lines (43 loc) · 1.1 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
"""
"""
#!/usr/bin/env python
# vim: set sw=4 et:
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
__author__ = 'Harihar Shankar'
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_suite = True
def run_tests(self):
import pytest
import sys
import os
cmdline = ' --cov replay -v tests/'
errcode = pytest.main(cmdline)
sys.exit(errcode)
setup(
name='sgpreplay',
version='0.0.1',
author='Harihar Shankar',
author_email='[email protected]',
license='',
packages=find_packages(),
description='Experimental replay service for signposting project',
long_description='Experimental replay service for signposting project',
provides=[
'sgpreplay',
],
install_requires=[
'pywb>=0.11.4',
],
dependency_links=[
],
zip_safe=False,
cmdclass={'test': PyTest},
test_suite='',
tests_require=[
'pytest',
'pytest-cov',
'httmock',
])