-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathsetup.py
More file actions
27 lines (23 loc) · 758 Bytes
/
Copy pathsetup.py
File metadata and controls
27 lines (23 loc) · 758 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
from setuptools import setup
from setuptools.command.test import test as TestCommand
import sys
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = ['--strict', '--verbose', '--tb=long']
self.test_suite = True
def run_tests(self):
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
setup(name='vcproj',
version='0.1.0',
description='Manipulate Visual C++ Project Files',
author='Josh Handley',
author_email='josh@teleyah.com',
tests_require=['pytest'],
url='http://github.com/jhandley/pyvcproj',
py_modules=['vcproj'],
packages=['vcproj'],
cmdclass={'test': PyTest},
)