Skip to content

Commit b9f26fd

Browse files
authored
Merge pull request #10 from So-Takamoto/pysen-develop
move pysen to develop dependency
2 parents ecd7cd1 + d77713f commit b9f26fd

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.flexci/pytest_script.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ main() {
2121
${IMAGE} \
2222
bash -x -c "pip install flake8 pytest pytest-cov pytest-xdist pytest-benchmark && \
2323
pip install cupy-cuda102 pytorch-pfn-extras && \
24-
pip install -e . && \
24+
pip install -e .[develop] && \
2525
pysen run lint && \
2626
pytest --cov=torch_dftd -n $(nproc) -m 'not slow' tests &&
2727
pytest --benchmark-only tests"

setup.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
import os
2-
from typing import List
2+
from typing import Dict, List
33

44
from setuptools import find_packages, setup # NOQA
55

66
setup_requires: List[str] = []
77
install_requires: List[str] = [
88
"ase>=3.18, <4.0.0", # Note that we require ase==3.21.1 for pytest.
99
"pymatgen",
10-
"pysen[lint]==0.9.1",
1110
]
11+
extras_require: Dict[str, List[str]] = {
12+
"develop": ["pysen[lint]==0.9.1"],
13+
}
1214

1315

1416
__version__: str
@@ -25,6 +27,7 @@
2527
packages=find_packages(),
2628
setup_requires=setup_requires,
2729
install_requires=install_requires,
30+
extras_require=extras_require,
2831
include_package_data=True,
2932
package_data=package_data,
3033
)

0 commit comments

Comments
 (0)