-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
52 lines (47 loc) · 1.75 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
#!/usr/bin/env python
"""
Fishman Tripleplay MIDI to OSC converter
ftposcd setup.py
Written By:
Shane Hutter
Description:
This is the setup.py for installing this software as a python package.
"""
from distutils.core import setup
from FTP import (
PROG_NAME , PROG_VERSION , PROG_AUTHOR ,
PROG_AUTHOR_EMAIL , PROG_DESC , PROG_PACKAGES ,
PATH , PROG_EXECUTABLES ,
SYSTEMD_UNIT_DIR , SYSTEMD_SERVICE_UNIT ,
)
from FTP.config import (
CONFIG_DIR , CONFIG_FILE ,
)
setup(
name = PROG_NAME ,
version = PROG_VERSION ,
author = PROG_AUTHOR ,
author_email = PROG_AUTHOR_EMAIL ,
description = PROG_DESC ,
long_description = open( "README.md", "r" ).read() ,
license = open( "LICENSE" , "r" ).read() ,
packages = PROG_PACKAGES ,
data_files = [
(
PATH , # Installed executables in systems $PATH
PROG_EXECUTABLES ,
) ,
(
CONFIG_DIR , # Configuration file
[
CONFIG_FILE , # ftposcd.conf
] ,
) ,
(
SYSTEMD_UNIT_DIR , # Systemd service unit
[
SYSTEMD_SERVICE_UNIT ,
] ,
) ,
] ,
)