-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
37 lines (29 loc) · 902 Bytes
/
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
#!/usr/bin/env python
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
__version__ = "0.0.0"
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
def run_tests(self):
import pytest
import sys
import os
errcode = pytest.main(
["--doctest-modules", "./unwarcit", "--cov", "unwarcit", "-v", "test/"]
)
sys.exit(errcode)
setup(
name="unwarcit",
version=__version__,
author="Emma Dickson",
author_email="emma.jk.dickson@gmail.com",
packages=find_packages(),
license="Apache 2.0",
url="https://github.com/emmadickson/unwarcit",
description="Unzip and Access Files in Web Archives (WARC) and WACZ Files",
entry_points="""
[console_scripts]
unwarcit = unwarcit.main:main
""",
)