Skip to content

Commit

Permalink
modified setup.py to install all dependencies without having to run p…
Browse files Browse the repository at this point in the history
…ip install -r requirements.txt + update version
  • Loading branch information
thejanky committed Aug 22, 2023
1 parent 4f0c828 commit 9a735e2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env python3
import os
from setuptools import setup, find_packages

from pathlib import Path
from setuptools.command.install import install
import subprocess
Expand All @@ -10,7 +9,7 @@
class CustomInstall(install):
def run(self):
install.run(self) # Run the default installation first
subprocess.check_call(['pip', 'install', './NOREC4DNA'])
subprocess.check_call(['pip', 'install', '-r', 'requirements.txt'])


thisDir = Path(__file__).parent
Expand All @@ -26,7 +25,7 @@ def run(self):
"inputDir": formatsPath
}

setup(name='DR4DNA', version='1.0.0', use_scm_version=True, kaitai=kaitaiSetuptoolsCfg,
setup(name='DR4DNA', version='1.0.0b', use_scm_version=True, kaitai=kaitaiSetuptoolsCfg,
packages=find_packages(),
setup_requires=[
'pip',
Expand Down

0 comments on commit 9a735e2

Please sign in to comment.