-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
41 lines (36 loc) · 1.22 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
# coding: utf-8
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTestCommand(TestCommand):
user_options = [("pytest-args=", "a", "Arguments to pass to pytest")]
def run_tests(self):
import sys, pytest
sys.exit(pytest.main([]))
setup(
name='misai',
version='0.1.1',
description='simple template engine',
long_description=open('readme.rst').read(),
url='https://github.com/nkanaev/misai',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
author='Nazar Kanaev',
author_email='[email protected]',
py_modules=['misai'],
package_data={'': ['readme.rst']},
include_package_data=True,
test_suite='test',
tests_require=['pytest'],
cmdclass={"test": PyTestCommand},
)