Skip to content

Commit 760e8e0

Browse files
committed
ditch python 3.9
1 parent 6088a16 commit 760e8e0

File tree

3 files changed

+42
-36
lines changed

3 files changed

+42
-36
lines changed

.github/workflows/python-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
python-version: ["3.9", "3.10", "3.11"]
15+
python-version: ["3.10", "3.11"]
1616
steps:
1717
- uses: actions/checkout@v3
1818
- name: Set up Python ${{ matrix.python-version }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ I'm going to focus on the steps involved to install on a linux machine using Ana
2525
package manager. Assuming you have conda installed, create a new conda env
2626

2727
```
28-
$ conda create -n diploshic python=3.9 --yes
28+
$ conda create -n diploshic python=3.10 --yes
2929
```
3030

3131
Note that because I'm using the Anaconda version of python, pip will only install this in the anaconda directory

setup.py

Lines changed: 40 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -4,38 +4,44 @@
44
with open("README.md", "r") as fh:
55
long_description = fh.read()
66

7-
shic_stats = Extension("diploshic.shicstats",
8-
sources=["diploshic/shicstats.pyf",
9-
"diploshic/utils.c"],
10-
)
11-
setup(name='diploSHIC',
12-
version='1.0.6',
13-
description='diploSHIC',
14-
long_description=long_description,
15-
long_description_content_type="text/markdown",
16-
url='https://github.com/kr-colab/diploSHIC',
17-
author='Andrew Kern',
18-
author_email='[email protected]',
19-
license='MIT',
20-
packages=['diploshic'],
21-
install_requires=['numpy',
22-
'scipy',
23-
'matplotlib',
24-
'pandas',
25-
'scikit-allel',
26-
'scikit-learn',
27-
'tensorflow==2.15.0',
28-
'keras'],
29-
scripts=['diploshic/diploSHIC',
30-
'diploshic/makeFeatureVecsForChrArmFromVcfDiploid.py',
31-
'diploshic/makeFeatureVecsForChrArmFromVcf_ogSHIC.py',
32-
'diploshic/makeFeatureVecsForSingleMsDiploid.py',
33-
'diploshic/makeFeatureVecsForSingleMs_ogSHIC.py',
34-
'diploshic/makeTrainingSets.py'],
35-
zip_safe=False,
36-
extras_require={
37-
'dev': [],
38-
},
39-
setup_requires=[],
40-
ext_modules=[shic_stats]
7+
shic_stats = Extension(
8+
"diploshic.shicstats",
9+
sources=["diploshic/shicstats.pyf", "diploshic/utils.c"],
10+
)
11+
setup(
12+
name="diploSHIC",
13+
version="1.0.6",
14+
description="diploSHIC",
15+
python_requires="<3.12,>=3.10",
16+
long_description=long_description,
17+
long_description_content_type="text/markdown",
18+
url="https://github.com/kr-colab/diploSHIC",
19+
author="Andrew Kern",
20+
author_email="[email protected]",
21+
license="MIT",
22+
packages=["diploshic"],
23+
install_requires=[
24+
"numpy",
25+
"scipy",
26+
"matplotlib",
27+
"pandas",
28+
"scikit-allel",
29+
"scikit-learn",
30+
"tensorflow==2.15.0",
31+
"keras",
32+
],
33+
scripts=[
34+
"diploshic/diploSHIC",
35+
"diploshic/makeFeatureVecsForChrArmFromVcfDiploid.py",
36+
"diploshic/makeFeatureVecsForChrArmFromVcf_ogSHIC.py",
37+
"diploshic/makeFeatureVecsForSingleMsDiploid.py",
38+
"diploshic/makeFeatureVecsForSingleMs_ogSHIC.py",
39+
"diploshic/makeTrainingSets.py",
40+
],
41+
zip_safe=False,
42+
extras_require={
43+
"dev": [],
44+
},
45+
setup_requires=[],
46+
ext_modules=[shic_stats],
4147
)

0 commit comments

Comments
 (0)