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
|
from distutils.core import setup
from glob import glob
import os
VERSION = '0.1.0'
def is_f(p):
return os.path.isfile(p)
setup(
name="python-simplestreams",
description='Library and tools for using Simple Streams data',
version=VERSION,
author='Scott Moser',
author_email='scott.moser@canonical.com',
license="AGPL",
url='http://launchpad.net/simplestreams/',
packages=['simplestreams', 'simplestreams.mirrors',
'simplestreams.objectstores'],
scripts=glob('bin/*'),
data_files=[
('lib/simplestreams', glob('tools/hook-*')),
('share/doc/simplestreams',
[f for f in glob('doc/*') if is_f(f)]),
]
)
|