Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ All notable changes to this project will be documented in this file.
* ### ALL
* #### Added
* #### Changed
* Fix [#2069](https://github.com/ni/nimi-python/issues/2069)
* #### Removed
* ### `nidcpower` (NI-DCPower)
* #### Added
Expand Down
16 changes: 0 additions & 16 deletions build/templates/setup.py.mako
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,9 @@ grpc_supported = template_parameters['include_grpc_support']
module_version = config['module_version']
%>

from setuptools.command.test import test as test_command
from setuptools import setup


class PyTest(test_command):
def finalize_options(self):
test_command.finalize_options(self)
self.test_args = []
self.test_suite = True

def run_tests(self):
import pytest
pytest.main(self.test_args)


pypi_name = '${config['module_name']}'


Expand Down Expand Up @@ -61,9 +49,6 @@ setup(
],
},
% endif
setup_requires=['pytest-runner', ],
tests_require=['pytest'],
test_suite='tests',
classifiers=[
"Development Status :: ${helper.get_development_status(config)}",
"Intended Audience :: Developers",
Expand All @@ -81,6 +66,5 @@ setup(
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: System :: Hardware :: Hardware Drivers"
],
cmdclass={'test': PyTest},
package_data={pypi_name: ['VERSION']},
)
16 changes: 0 additions & 16 deletions generated/nidcpower/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,9 @@
# This file was generated


from setuptools.command.test import test as test_command
from setuptools import setup


class PyTest(test_command):
def finalize_options(self):
test_command.finalize_options(self)
self.test_args = []
self.test_suite = True

def run_tests(self):
import pytest
pytest.main(self.test_args)


pypi_name = 'nidcpower'


Expand Down Expand Up @@ -50,9 +38,6 @@ def read_contents(file_to_read):
'protobuf>=4.21.6,<5.0'
],
},
setup_requires=['pytest-runner', ],
tests_require=['pytest'],
test_suite='tests',
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
Expand All @@ -70,6 +55,5 @@ def read_contents(file_to_read):
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: System :: Hardware :: Hardware Drivers"
],
cmdclass={'test': PyTest},
package_data={pypi_name: ['VERSION']},
)
16 changes: 0 additions & 16 deletions generated/nidigital/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,9 @@
# This file was generated


from setuptools.command.test import test as test_command
from setuptools import setup


class PyTest(test_command):
def finalize_options(self):
test_command.finalize_options(self)
self.test_args = []
self.test_suite = True

def run_tests(self):
import pytest
pytest.main(self.test_args)


pypi_name = 'nidigital'


Expand Down Expand Up @@ -51,9 +39,6 @@ def read_contents(file_to_read):
'protobuf>=4.21.6,<5.0'
],
},
setup_requires=['pytest-runner', ],
tests_require=['pytest'],
test_suite='tests',
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
Expand All @@ -71,6 +56,5 @@ def read_contents(file_to_read):
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: System :: Hardware :: Hardware Drivers"
],
cmdclass={'test': PyTest},
package_data={pypi_name: ['VERSION']},
)
16 changes: 0 additions & 16 deletions generated/nidmm/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,9 @@
# This file was generated


from setuptools.command.test import test as test_command
from setuptools import setup


class PyTest(test_command):
def finalize_options(self):
test_command.finalize_options(self)
self.test_args = []
self.test_suite = True

def run_tests(self):
import pytest
pytest.main(self.test_args)


pypi_name = 'nidmm'


Expand Down Expand Up @@ -50,9 +38,6 @@ def read_contents(file_to_read):
'protobuf>=4.21.6,<5.0'
],
},
setup_requires=['pytest-runner', ],
tests_require=['pytest'],
test_suite='tests',
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
Expand All @@ -70,6 +55,5 @@ def read_contents(file_to_read):
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: System :: Hardware :: Hardware Drivers"
],
cmdclass={'test': PyTest},
package_data={pypi_name: ['VERSION']},
)
16 changes: 0 additions & 16 deletions generated/nifake/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,9 @@
# This file was generated


from setuptools.command.test import test as test_command
from setuptools import setup


class PyTest(test_command):
def finalize_options(self):
test_command.finalize_options(self)
self.test_args = []
self.test_suite = True

def run_tests(self):
import pytest
pytest.main(self.test_args)


pypi_name = 'nifake'


Expand Down Expand Up @@ -51,9 +39,6 @@ def read_contents(file_to_read):
'protobuf>=4.21.6,<5.0'
],
},
setup_requires=['pytest-runner', ],
tests_require=['pytest'],
test_suite='tests',
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
Expand All @@ -71,6 +56,5 @@ def read_contents(file_to_read):
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: System :: Hardware :: Hardware Drivers"
],
cmdclass={'test': PyTest},
package_data={pypi_name: ['VERSION']},
)
16 changes: 0 additions & 16 deletions generated/nifgen/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,9 @@
# This file was generated


from setuptools.command.test import test as test_command
from setuptools import setup


class PyTest(test_command):
def finalize_options(self):
test_command.finalize_options(self)
self.test_args = []
self.test_suite = True

def run_tests(self):
import pytest
pytest.main(self.test_args)


pypi_name = 'nifgen'


Expand Down Expand Up @@ -51,9 +39,6 @@ def read_contents(file_to_read):
'protobuf>=4.21.6,<5.0'
],
},
setup_requires=['pytest-runner', ],
tests_require=['pytest'],
test_suite='tests',
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
Expand All @@ -71,6 +56,5 @@ def read_contents(file_to_read):
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: System :: Hardware :: Hardware Drivers"
],
cmdclass={'test': PyTest},
package_data={pypi_name: ['VERSION']},
)
16 changes: 0 additions & 16 deletions generated/nimodinst/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,9 @@
# This file was generated


from setuptools.command.test import test as test_command
from setuptools import setup


class PyTest(test_command):
def finalize_options(self):
test_command.finalize_options(self)
self.test_args = []
self.test_suite = True

def run_tests(self):
import pytest
pytest.main(self.test_args)


pypi_name = 'nimodinst'


Expand Down Expand Up @@ -44,9 +32,6 @@ def read_contents(file_to_read):
install_requires=[
'hightime>=0.2.0',
],
setup_requires=['pytest-runner', ],
tests_require=['pytest'],
test_suite='tests',
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
Expand All @@ -64,6 +49,5 @@ def read_contents(file_to_read):
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: System :: Hardware :: Hardware Drivers"
],
cmdclass={'test': PyTest},
package_data={pypi_name: ['VERSION']},
)
16 changes: 0 additions & 16 deletions generated/niscope/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,9 @@
# This file was generated


from setuptools.command.test import test as test_command
from setuptools import setup


class PyTest(test_command):
def finalize_options(self):
test_command.finalize_options(self)
self.test_args = []
self.test_suite = True

def run_tests(self):
import pytest
pytest.main(self.test_args)


pypi_name = 'niscope'


Expand Down Expand Up @@ -51,9 +39,6 @@ def read_contents(file_to_read):
'protobuf>=4.21.6,<5.0'
],
},
setup_requires=['pytest-runner', ],
tests_require=['pytest'],
test_suite='tests',
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
Expand All @@ -71,6 +56,5 @@ def read_contents(file_to_read):
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: System :: Hardware :: Hardware Drivers"
],
cmdclass={'test': PyTest},
package_data={pypi_name: ['VERSION']},
)
16 changes: 0 additions & 16 deletions generated/nise/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,9 @@
# This file was generated


from setuptools.command.test import test as test_command
from setuptools import setup


class PyTest(test_command):
def finalize_options(self):
test_command.finalize_options(self)
self.test_args = []
self.test_suite = True

def run_tests(self):
import pytest
pytest.main(self.test_args)


pypi_name = 'nise'


Expand Down Expand Up @@ -44,9 +32,6 @@ def read_contents(file_to_read):
install_requires=[
'hightime>=0.2.0',
],
setup_requires=['pytest-runner', ],
tests_require=['pytest'],
test_suite='tests',
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
Expand All @@ -64,6 +49,5 @@ def read_contents(file_to_read):
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: System :: Hardware :: Hardware Drivers"
],
cmdclass={'test': PyTest},
package_data={pypi_name: ['VERSION']},
)
16 changes: 0 additions & 16 deletions generated/niswitch/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,9 @@
# This file was generated


from setuptools.command.test import test as test_command
from setuptools import setup


class PyTest(test_command):
def finalize_options(self):
test_command.finalize_options(self)
self.test_args = []
self.test_suite = True

def run_tests(self):
import pytest
pytest.main(self.test_args)


pypi_name = 'niswitch'


Expand Down Expand Up @@ -50,9 +38,6 @@ def read_contents(file_to_read):
'protobuf>=4.21.6,<5.0'
],
},
setup_requires=['pytest-runner', ],
tests_require=['pytest'],
test_suite='tests',
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
Expand All @@ -70,6 +55,5 @@ def read_contents(file_to_read):
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: System :: Hardware :: Hardware Drivers"
],
cmdclass={'test': PyTest},
package_data={pypi_name: ['VERSION']},
)
Loading