blob: 8610d6ab4b622fe42b46dcb304fd654901577a7c (
plain)
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
|
import os
from setuptools import setup, find_packages
prefix = '/'
data_files_prefix = 'usr/share/swiftstory/lang'
data_files = list()
for n in os.walk(data_files_prefix):
if len(n[2]) == 0:
continue
files = list()
for f in n[2]:
files.append(n[0] + '/' + f)
data_files.append((prefix + n[0] + '/', files))
setup(
name = 'swiftstory',
description = "SwiftStory game: We're not out of the woods yet.",
version = '0.1',
author = 'Olivier Gayot',
author_email = 'olivier.gayot@sigexec.com',
packages = find_packages(),
data_files = data_files,
entry_points = {
'console_scripts': [
'swiftstoryd = swiftstory.__main__:main',
],
}
)
|