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
|
from distutils.core import setup
from glob import glob
import os
import curtin
def is_f(p):
return os.path.isfile(p)
setup(
name="curtin",
description='The curtin installer',
version=curtin.__version__,
author='Scott Moser',
author_email='scott.moser@canonical.com',
license="AGPL",
url='http://launchpad.net/curtin/',
packages=[
'curtin',
'curtin.block',
'curtin.deps',
'curtin.commands',
'curtin.net',
'curtin.reporter',
'curtin.reporter.legacy',
],
scripts=glob('bin/*'),
data_files=[
('/usr/share/doc/curtin',
[f for f in glob('doc/*') if is_f(f)]),
('/usr/lib/curtin/helpers',
[f for f in glob('helpers/*') if is_f(f)])
]
)
|