forked from CLARIAH/COW
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
29 lines (24 loc) · 1.02 KB
/
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
#!/usr/bin/env python
# -*- coding: iso-8859-15 -*-
from distutils.core import setup
import os
import sys
with open('requirements.txt') as f:
required = f.read().splitlines()
cow_base = os.path.join('src', '')
cow_data = [ os.path.join('.', os.path.join(root.replace(cow_base, ''), '*')) for root,dirs,files in os.walk(cow_base) ]
cow_version = 'x.xx'
setup(name = 'cow_csvw',
version = cow_version,
description = 'Batch converter of large CSVs into CSVW/RDF',
author = 'Rinke Hoekstra, Kathrin Dentler, Auke Rijpma, Richard Zijdeman, Albert Meroño-Peñuela',
author_email = '[email protected]',
url = 'https://github.com/CLARIAH/COW',
download_url = 'https://github.com/CLARIAH/COW/archive/' + cow_version + '.tar.gz',
packages = ['cow_csvw'],
package_dir = {'cow_csvw': 'src'},
package_data = {'cow_csvw': cow_data},
entry_points={'console_scripts' : [ 'cow_tool = cow_csvw.csvw_tool:main' ]},
keywords = ['csv', 'rdf', 'csvw'],
install_requires=required
)