forked from BernardFW/bernard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
49 lines (40 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
42
43
44
45
46
47
48
49
# coding: utf-8
from __future__ import unicode_literals
import os
import codecs
from typing import Text
from setuptools import setup, find_packages
def parse_requirements(req_file_path: Text):
with open(req_file_path, 'r') as req_file:
return req_file.readlines()
rf = codecs.open(os.path.join(os.path.dirname(__file__), 'README.txt'), 'r')
with rf as readme:
README = readme.read()
requirements = parse_requirements(
os.path.join(os.path.dirname(__file__), 'requirements_as_lib.txt'),
)
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='bernard',
version='0.2.0',
packages=find_packages('src'),
package_dir={
'': 'src',
},
scripts=[
'bin/bernard'
],
include_package_data=True,
license='AGPLv3+',
description='Bot Engine Responding Naturally At Requests Detection',
long_description=README,
url='https://github.com/BernardFW/bernard',
author='Rémy Sanchez',
author_email='remy.sanchez@hyperthese.net',
install_requires=requirements,
classifiers=[
'License :: OSI Approved :: GNU Affero General Public License v3 or '
'later (AGPLv3+)',
'Development Status :: 4 - Beta',
]
)