Skip to content

Commit 5e7edc9

Browse files
Merge pull request #48 from c-martinez/pipInstall
Pip install
2 parents 302acef + d7a9541 commit 5e7edc9

File tree

5 files changed

+22
-3
lines changed

5 files changed

+22
-3
lines changed

LICENSE.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Copyright 2017 Albert Meroño, VU University Amsterdam
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4+
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6+
7+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include requirements.txt

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ grlc, the <b>g</b>it <b>r</b>epository <b>l</b>inked data API <b>c</b>onstructor
66

77
**Author:** Albert Meroño
88
**Copyright:** Albert Meroño, VU University Amsterdam
9-
**License:** MIT License (see [license.txt](license.txt))
9+
**License:** MIT License (see [LICENSE.txt](LICENSE.txt))
1010

1111
## Install and run
1212

@@ -72,7 +72,7 @@ A couple of SPARQL comment embedded decorators are available to make your swagge
7272
<pre>&#35;+ enumerate:
7373
&#35;+ - var1
7474
&#35;+ - var2</pre>
75-
75+
7676
Notice that these should be plain variable names without SPARQL/BASIL conventions (so `var1` instead of `?_var1_iri`)
7777

7878
See examples at [https://github.com/albertmeronyo/lodapi](https://github.com/albertmeronyo/lodapi).

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[metadata]
2+
description-file = README.md

setup.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,26 @@
11
#!/usr/bin/env python
2+
# -*- coding: iso-8859-15 -*-
23

34
from distutils.core import setup
5+
import os
46

57
with open('requirements.txt') as f:
68
required = f.read().splitlines()
79

10+
grlc_base = 'src/'
11+
grlc_data = [ root.replace(grlc_base, '') + '/*' for root,dirs,files in os.walk(grlc_base) ]
12+
grlc_version = '1.0'
13+
814
setup(name='grlc',
9-
version='1.0',
15+
version=grlc_version,
1016
description='grlc, the git repository linked data API constructor',
1117
author='Albert Meroño',
18+
author_email='albert.merono@vu.nl',
1219
url='https://github.com/CLARIAH/grlc',
20+
download_url='https://github.com/CLARIAH/grlc/tarball/' + grlc_version,
1321
packages=['grlc'],
1422
package_dir = {'grlc': 'src'},
23+
package_data = {'grlc': grlc_data},
1524
scripts=['bin/grlc-server'],
1625
install_requires=required
1726
)

0 commit comments

Comments
 (0)