Skip to content

Commit 6838e1f

Browse files
committed
[setup] Add console scripts
1 parent d4f46f9 commit 6838e1f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

setup.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,14 @@
2121

2222
packages = [
2323
'odml',
24-
'odml.tools'
24+
'odml.tools',
25+
'odml.scripts'
2526
]
2627

2728
with open('README.rst') as f:
2829
description_text = f.read()
2930

30-
install_req = ["lxml", "pyyaml==3.12", "rdflib"]
31+
install_req = ["lxml", "pyyaml==3.12", "rdflib", "docopt"]
3132

3233
if sys.version_info < (3, 4):
3334
install_req += ["enum34"]
@@ -45,5 +46,6 @@
4546
include_package_data=True,
4647
long_description=description_text,
4748
classifiers=CLASSIFIERS,
48-
license="BSD"
49+
license="BSD",
50+
entry_points={'console_scripts': ['odmlexportrdf=odml.scripts.odml_export_rdf:main']}
4951
)

0 commit comments

Comments
 (0)