Skip to content

Commit

Permalink
Update setup.py to remove imp import (#173)
Browse files Browse the repository at this point in the history
* Update setup.py

* Update setup.py (#174)

* Update setup.py
  • Loading branch information
andamian committed Nov 17, 2023
1 parent 7aed20c commit f157862
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion caom2/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import glob
import os
import sys
import imp
from setuptools.command.test import test as TestCommand
from setuptools import find_packages

Expand Down
7 changes: 0 additions & 7 deletions caom2repo/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import glob
import os
import sys
import imp
from setuptools.command.test import test as TestCommand
from setuptools import find_packages

Expand Down Expand Up @@ -91,12 +90,6 @@ def run(self):
import pytest
testfile = os.getcwd() + '/tests/test-integration.py'
pytest.main(['-s', '--capture=no','-x', testfile])
#inttests = imp.load_source("tests", testfile)
#inttestattr = getattr(inttests, "TestCaom2Integration")()
#self.announce(
# 'Running inttests: {}'.format(testfile),
# level=distutils.log.INFO)
#inttestattr.runTest()

# Note that requires and provides should not be included in the call to
# ``setup``, since these are now deprecated. See this link for more details:
Expand Down
1 change: 0 additions & 1 deletion caom2utils/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import glob
import os
import sys
import imp
from setuptools.command.test import test as TestCommand
from setuptools import find_packages

Expand Down

0 comments on commit f157862

Please sign in to comment.