Skip to content

Commit

Permalink
Merge pull request #42 from ChalkLab/hotfix-for-cli
Browse files Browse the repository at this point in the history
Adds entry point for CLI in setup.py so cli is properly installed as "scidatalib"
  • Loading branch information
stuchalk committed Apr 15, 2021
2 parents f002ab2 + 062d2d9 commit 5b2b408
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ scidatalib output.jsonld

You can access the additional functionality via the `--help` option:
```
scidata --help
scidatalib --help
```

### SciDataLib library
Expand Down
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,9 @@
"Operating System :: OS Independent",
],
python_requires='>=3.6',
entry_points={
'console_scripts': [
"scidatalib = scidatalib.cli:cli",
]
}
)

0 comments on commit 5b2b408

Please sign in to comment.