-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
71 lines (64 loc) · 2.11 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
60
61
62
63
64
65
66
67
68
69
70
71
# -*- coding: utf-8 -*-
# Copyright (C) 2017-2024 Davide Gessa
"""
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program 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 General Public License for more details.
For detail about GNU see <http://www.gnu.org/licenses/>.
"""
from setuptools import find_packages, setup
buildOptions = {}
executables = {}
W32 = False
if W32:
from cx_Freeze import Executable, setup
buildOptions = {"build_exe": {"packages": ["gi"], "include_files": []}}
executables = [Executable("main.py")] # icon="evm_bg_KYa_icon.ico")
setup(
name="gweatherrouting",
version="0.1.5",
description="",
author="Davide Gessa",
setup_requires="setuptools",
author_email="[email protected]",
packages=[
"gweatherrouting",
"gweatherrouting.core",
"gweatherrouting.core.utils",
"gweatherrouting.core.geo",
"gweatherrouting.common",
"gweatherrouting.gtk",
"gweatherrouting.gtk.maplayers",
"gweatherrouting.gtk.settings",
"gweatherrouting.gtk.widgets",
"gweatherrouting.gtk.charts",
"gweatherrouting.gtk.charts.vectordrawer",
],
package_data={
"gweatherrouting": [
"data/*",
"data/boats/*",
"data/polars/*",
"data/symbols/*",
"data/s57/*",
"data/icons/*",
"gtk/*.glade",
"gtk/settings/*.glade",
"gtk/widgets/*.glade",
]
},
entry_points={
"console_scripts": [
"gweatherrouting=gweatherrouting.main:startUIGtk",
# 'gweatherrouting_cli=gweatherrouting.main:startCli'
],
},
options=buildOptions,
executables=executables,
install_requires=open("requirements.txt", "r").read().split("\n"),
)