forked from Aluriak/grammar-boolean-rapsody
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
49 lines (32 loc) · 1.21 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
49
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Definition of setup function for setuptools module."""
# Standard imports
import sys
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
################################################################################
class PyTest(TestCommand):
"""Call tests with the custom 'python setup.py test' command."""
def initialize_options(self):
TestCommand.initialize_options(self)
self.pytest_args = []
def run_tests(self):
import pytest
errno = pytest.main()
sys.exit(errno)
################################################################################
setup(
name='gbr',
version="1.1",
packages=find_packages(),
author="Lucas Bourneuf",
description="Using grammar, FSM, syntactic tree and DAG for answer to a simple question. There is better ways ; one of them is to code it in lisp.",
long_description=open('README.md', encoding='utf8').read(),
include_package_data=True,
classifiers=[
"Programming Language :: Python",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.6",
],
)