forked from mparisot-wescale/memopol2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
33 lines (30 loc) · 966 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
33
import distribute_setup
distribute_setup.use_setuptools()
import os
from setuptools import setup, find_packages
def find_files(dirname):
files = []
for entryname in os.listdir(dirname):
pathname = "%s/%s" % (dirname, entryname)
if os.path.isfile(pathname):
files.append(pathname)
elif os.path.isdir(pathname):
files += find_files(pathname)
return files
setup(
name='Memopol',
version = '1.99.1',
author = 'The memopol project',
author_email = '[email protected]',
description = 'Memoire Politique',
long_description = open('README.txt').read(),
license = 'LICENSE.txt',
url = 'http://projets.lqdn.fr/projects/mempol',
packages = find_packages(),
include_package_data = True,
scripts = find_files('bin'),
install_requires = open('requirements.txt').read(),
extras_require = {
'test': open('requirements-test.txt').read()
}
)