Skip to content

Commit 904f597

Browse files
Merge pull request #54 from AyanSinhaMahapatra/add-default-option
Add default and with-nlp installations
2 parents d8c95e9 + 8ce710b commit 904f597

File tree

2 files changed

+17
-16
lines changed

2 files changed

+17
-16
lines changed

.github/workflows/ci-pytest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ jobs:
2525
run: ./configure
2626

2727
- name: Run tests
28-
run: tmp/bin/pytest -vvs
28+
run: tmp/bin/pytest -vvs tests
2929

setup.cfg

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,22 @@ install_requires =
2929
attr
3030
commoncode
3131
plugincode
32+
33+
setup_requires = setuptools_scm[toml] >= 4
34+
35+
[options.entry_points]
36+
scancode_post_scan =
37+
analyzer = results_analyze.analyzer_plugin:ResultsAnalyzer
38+
39+
[options.packages.find]
40+
where=src
41+
42+
[options.extras_require]
43+
testing =
44+
# upstream
45+
pytest >= 6
46+
pytest-xdist >= 2
47+
nlp =
3248
pyyaml
3349
pandas
3450
#Used in pandas for hdf5 storage
@@ -45,20 +61,5 @@ install_requires =
4561
torch
4662
# This is used for clearcode data loading
4763
psycopg2
48-
49-
setup_requires = setuptools_scm[toml] >= 4
50-
51-
[options.entry_points]
52-
scancode_post_scan =
53-
analyzer = results_analyze.analyzer_plugin:ResultsAnalyzer
54-
55-
[options.packages.find]
56-
where=src
57-
58-
[options.extras_require]
59-
testing =
60-
# upstream
61-
pytest >= 6
62-
pytest-xdist >= 2
6364
jupyter =
6465
jupyterlab

0 commit comments

Comments
 (0)