-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
59 lines (56 loc) · 1.88 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
50
51
52
53
54
55
56
57
58
59
#!/usr/bin/env python3
#
# Copyright (C) 2019 Geon Technologies, LLC
#
# This file is part of FINS.
#
# FINS is free software: you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option)
# any later version.
#
# FINS is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
# more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see http://www.gnu.org/licenses/.
#
from setuptools import setup, find_namespace_packages
# For a single point of maintenance, the canonical package version is in the version module
version = {}
with open('src/fins/version.py') as fp:
exec(fp.read(), version)
setup(
name='fins',
description='The Firmware IP Node Specification is an automation tool for modular programmable logic design',
version=version['__version__'],
packages=find_namespace_packages(where='src'),
package_dir={'':'src'},
python_requires='>= 3.6',
url='http://geon.tech',
install_requires=[
'Jinja2 >= 2.8'
],
package_data={
'fins':[
'loader/node.json',
'loader/application.json',
'loader/system.json',
'backend/templates/node/*',
'backend/templates/application/*',
'backend/templates/system/*',
'backend/templates/node/.gitignore',
'backend/templates/application/.gitignore'
]
},
entry_points={
'console_scripts':[
'fins=fins.main:main'
],
'fins.backend.generators':[
'core=fins.backend.generator:Generator'
],
}
)