-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
39 lines (30 loc) · 920 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
34
35
36
37
38
#!/usr/bin/env python3
# -- coding: utf-8 --
"""setup.py
This script is used to build the package nakalator and install it.
"""
from setuptools import setup
from pathlib import Path
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
__version__ = '0.0.2'
# Lire les dépendances depuis requirements.txt
with open("requirements.txt") as f:
required = f.read().splitlines()
setup(
name="nakalator",
version=__version__,
packages=['lib', 'lib.bridge', 'lib.utils'],
package_data={'': ['nakala_request.so',
'nakala_request.dylib']},
include_package_data=True,
py_modules=["nakalator"],
install_requires=required,
long_description=long_description,
long_description_content_type='text/markdown',
entry_points={
"console_scripts": [
"nakalator=nakalator:app",
],
},
)