forked from hacklabr/timtec
-
Notifications
You must be signed in to change notification settings - Fork 19
/
setup.py
48 lines (40 loc) · 1.18 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
import os
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
import sys
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
# import here, cause outside the eggs aren't loaded
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
here = os.path.abspath(os.path.dirname(__file__))
requires = [
'django',
]
setup(name='timtec',
version='0.0',
description='timtec',
long_description='',
classifiers=[
"Programming Language :: Python",
"Framework :: Django",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
author='Hacklab',
author_email='[email protected]',
url='hacklab.com.br',
keywords='web wsgi django',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
test_suite='timtec',
tests_require=['pytest'],
cmdclass={'test': PyTest},
install_requires=requires,
)