-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
33 lines (29 loc) · 939 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
32
33
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 = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs aren't loaded
import pytest
pytest.main(self.test_args)
setup(name='thousands',
version='1.0.0',
description='Site for South Ural moultains climbers',
author='Rushan Shaymardanov',
author_email='[email protected]',
install_requires=[
'psycopg2',
'Flask==0.12.1',
'flask-login==0.4',
'Flask-WTF',
'yoyo-migrations==4.2.5',
'bleach',
'gpxpy',
'Pillow',
'transliterate',
'Flask-OAuthlib'],
tests_require=['mock', 'pytest', 'blinker'],
cmdclass = {'test': PyTest})