-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
41 lines (36 loc) · 1.26 KB
/
setup.py
File metadata and controls
41 lines (36 loc) · 1.26 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
#!/usr/bin/env python
# Copyright (C) 2020 Nightwind Future Industries Ltd. (NZ)
#
# This program 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 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 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 <https://www.gnu.org/licenses/>.
# NOTE: This file may not be needed after all
from setuptools import setup
from debianpacker import mkdir_if_not_exist, DEFAULT_INPUT_PATH, DEFAULT_OUTPUT_PATH
import os
setup(
name='debianpacker',
version='0.0',
py_modules=['debianpacker'],
install_requires=[
'Click',
'deb-pkg-tools'
],
entry_points='''
[console_scripts]
debianpacker=debianpacker:main
''',
)
# Creates Default Input & Output Directories
mkdir_if_not_exist(DEFAULT_INPUT_PATH)
mkdir_if_not_exist(DEFAULT_OUTPUT_PATH)