-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
65 lines (56 loc) · 1.47 KB
/
setup.py
File metadata and controls
65 lines (56 loc) · 1.47 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/usr/bin/env python
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 = ['konoha/tests', '-s']
self.test_suite = True
def run_tests(self):
import pytest
# os.environ['DJANGO_SETTINGS_MODULE'] = 'tests.settings'
errno = pytest.main(self.test_args)
sys.exit(errno)
setup(
name='konoha',
version='2.0',
author='mturilin',
author_email='mikhail@turilin.com',
description='CMS for Django',
license='MIT',
url='https://github.com/mturilin/konoha',
packages=['konoha'],
zip_safe=False,
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP',
],
install_requires=[
'Django',
'PyYAML',
'Coffin',
'django-treeadmin',
'jinja2',
'django-filer',
'funcy',
'Markdown',
'django-tools',
],
tests_require=[
'pytest',
'pytest-django',
'Django',
'beautifulsoup4',
'path.py',
],
dependency_links=[
'git+https://github.com/mturilin/import_helpers',
],
cmdclass={'test': PyTest},
)