-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
31 lines (28 loc) · 945 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
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = [
'--strict',
'--verbose',
'--tb=long',
'tests']
self.test_suite = True
def run_tests(self):
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
setup(name='flywrench',
version='0.1',
description='Flyweight objects made simple',
classifiers=['License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Development Status :: 3 - Alpha'
],
url='http://github.com/coreygirard/flywrench',
author='Corey Girard',
license='MIT',
packages=['flywrench'],
zip_safe=False)