Skip to content

Commit

Permalink
Merge pull request #111 from AllenNeuralDynamics/wip/pytest
Browse files Browse the repository at this point in the history
Wip/pytest
  • Loading branch information
hannalee2 authored Oct 18, 2024
2 parents d13236a + 528a1b7 commit 01bc137
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
prune tests
2 changes: 1 addition & 1 deletion parallax/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import os

__version__ = "1.1.1"
__version__ = "1.1.2"

# allow multiple OpenMP instances
os.environ["KMP_DUPLICATE_LIB_OK"] = "True"
8 changes: 6 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,12 @@ dependencies = [
"PyQtWebEngine"
]

[tool.setuptools]
packages = ["parallax", "ui", "img"]
[tool.setuptools.packages.find]
include = ["parallax", "ui", "img"]
exclude = ["tests", "tests.*"]

[tool.setuptools.package-data]
exclude = ["tests", "tests/*"]

[tool.setuptools.dynamic]
version = {attr = "parallax.__version__"}
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
from setuptools import setup, find_packages
from setuptools import setup

if __name__ == "__main__":
setup(
name='parallax',
packages=find_packages(exclude=["tests", "tests.*"]),
entry_points={
'console_scripts': [
'parallax = parallax.__main__:main'
Expand Down

0 comments on commit 01bc137

Please sign in to comment.