forked from hotzenklotz/pybeerxml
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
35 lines (31 loc) · 936 Bytes
/
setup.py
File metadata and controls
35 lines (31 loc) · 936 Bytes
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
from setuptools import setup
from setuptools.command.test import test as TestCommand
import sys
import pybeerxml
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
errcode = pytest.main(self.test_args)
sys.exit(errcode)
setup(
name = 'pybeerxml',
packages = ['pybeerxml'],
version = '1.0',
description = 'A BeerXML Parser',
author = 'Tom Herold',
author_email = 'heroldtom@gmail.com',
url = 'https://github.com/hotzenklotz/pybeerxml',
download_url = 'https://github.com/hotzenklotz/pybeerxml/tarball/0.1',
tests_require=['pytest'],
cmdclass={'test': PyTest},
platforms='any',
keywords = ['beerxml', 'beer', 'xml', 'brewing'],
classifiers = [],
extras_require={
'testing': ['pytest'],
}
)