-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
59 lines (51 loc) · 1.88 KB
/
setup.py
File metadata and controls
59 lines (51 loc) · 1.88 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
51
52
53
54
55
56
57
58
59
# -*- coding: utf-8 -*-
from setuptools import find_packages
from cx_Freeze import setup, Executable
from sys import platform
import ava
# additionnal packages for cx_Freeze
build_exe_packages = ['idna', 'gtts', 'asyncio', 'venv']
if platform == "darwin":
build_exe_packages.append('appdirs')
build_exe_packages.append('packaging')
build_exe_packages.append('_sysconfigdata_m_darwin_darwin')
include_files = [r"C:\Users\jibb\AppData\Local\Programs\Python\Python36-32\DLLs\tcl86t.dll",
r"C:\Users\jibb\AppData\Local\Programs\Python\Python36-32\DLLs\tk86t.dll",
('ava\\plugins\\context\\main.py', 'lib\\ava\\plugins\\context\\main.py'),
('ava\\plugins\\context\\venv.py', 'lib\\ava\\plugins\\context\\venv.py')]
# project requirements from pip
with open('requirements.txt') as requirement_file:
requirements = requirement_file.read().splitlines()
setup(
name='ava',
version=ava.__version__,
packages=find_packages(),
options={
'build_exe': {
'packages': build_exe_packages,
'include_files': include_files
}
},
author='AVA Project',
author_email='ava_2018@labeip.epitech.eu',
description='The daemon of the AVA Project',
long_description=open('README.md').read(),
install_requires=requirements,
include_package_data=True,
url='https://github.com/ava-project/ava-core',
classifiers=[
'Programming Language :: Python :: 3',
'Development Status :: 1 - Planning',
'License :: OSI Approved :: Apache Software License',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'Natural Language :: English',
'Operating System :: OS Independent',
],
entry_points={
'console_scripts': [
'avad = ava.ava:main',
],
},
executables=[Executable('app.py')]
)