-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
33 lines (27 loc) · 878 Bytes
/
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
# -*- coding: utf-8 -*-
'''
Slightly resembles an install script, but actually there is not much
to install.
'''
import os
import sys
from distutils.core import setup
sys.path.append("src")
from pynal.models import Config
pynal_data_files = [
("share/applications", ["resources/pynal.desktop"]),
("share/pynal", ["resources/pynalui.rc"]),
]
setup(name=Config.appname.lower(),
version=Config.version,
description=Config.description,
long_description=Config.description_long,
author=Config.author,
author_email=Config.author_email,
platforms=Config.platforms,
url=Config.homepage,
license=Config.license,
package_dir={"pynal": "src/pynal"},
packages=["pynal", "pynal.models", "pynal.view", "pynal.control"],
scripts=["resources/pynal"],
data_files=pynal_data_files)