-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathsetup.py
More file actions
50 lines (39 loc) · 1.03 KB
/
setup.py
File metadata and controls
50 lines (39 loc) · 1.03 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
"""
setup.py
"""
import os
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
class PochaTestCommand(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
from pocha.cli import cli
cli()
def load(filename):
with open(filename, 'r') as input_file:
return input_file.read().split('\n')
setup(
name='pocha',
version='0.14.0',
author='Rodney Gomes',
author_email='rodneygomes@gmail.com',
url='',
install_requires=load('requirements.txt'),
tests_require=load('requirements-dev.txt'),
cmdclass={'test': PochaTestCommand},
test_suite='test',
keywords=[''],
py_modules=['pocha'],
packages=find_packages(exclude=['tests']),
entry_points={
'console_scripts': [
'pocha=pocha.cli:cli'
]
},
license='Apache 2.0 License',
description='',
long_description='',
)