forked from CLARIAH/grlc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
26 lines (22 loc) · 820 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
#!/usr/bin/env python
# -*- coding: iso-8859-15 -*-
from distutils.core import setup
import os
with open('requirements.txt') as f:
required = f.read().splitlines()
grlc_base = 'src/'
grlc_data = [ root.replace(grlc_base, '') + '/*' for root,dirs,files in os.walk(grlc_base) if root !=grlc_base ]
grlc_version = '1.0'
setup(name='grlc',
version=grlc_version,
description='grlc, the git repository linked data API constructor',
author='Albert Meroño',
author_email='[email protected]',
url='https://github.com/CLARIAH/grlc',
download_url='https://github.com/CLARIAH/grlc/tarball/' + grlc_version,
packages=['grlc'],
package_dir = {'grlc': 'src'},
package_data = {'grlc': grlc_data},
scripts=['bin/grlc-server'],
install_requires=required
)