Skip to content

Commit

Permalink
🎨 switch to package dependencies
Browse files Browse the repository at this point in the history
- instead of requirements_dev.txt
 and see if then the results for TSNE reproduce.
  • Loading branch information
enryH committed Sep 2, 2024
1 parent 2057646 commit e26d190
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
20 changes: 19 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,25 @@
with open('HISTORY.rst') as history_file:
history = history_file.read()

requirements = ['Click>=7.0', ]
requirements = ['click>=7.0',
'numpy == 1.23.2',
'pandas == 2.0.2',
'scipy == 1.10.1',
'networkx == 3.1',
'biopython == 1.81',
'combat == 0.3.3',
'gseapy == 1.0.4',
'kmapper == 2.0.1',
'lifelines == 0.27.7',
'pingouin == 0.5.3',
'python-louvain == 0.16',
'PyWGCNA == 1.16.8',
'snfpy == 0.2.2',
'umap-learn == 0.5.3',
# not in requirements_dev:
'statsmodels',
'combat',
]

test_requirements = ['pytest>=3', ]

Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ commands = flake8 acore tests --ignore=E501,W605
setenv =
PYTHONPATH = {toxinidir}
deps =
-r{toxinidir}/requirements_dev.txt
-e .
pytest
; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following line:
; -r{toxinidir}/requirements.txt
Expand Down

0 comments on commit e26d190

Please sign in to comment.