Skip to content

Commit

Permalink
Merge pull request #1492 from sanjayankur31/fix/setuptools
Browse files Browse the repository at this point in the history
Setuptools related improvements
  • Loading branch information
mstimberg authored Nov 9, 2023
2 parents 17ca888 + 9cf5da5 commit 7e0b610
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
13 changes: 13 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,16 @@ exclude .coveragerc
exclude .gitattributes
exclude .gitmodules
include brian2/_version.py

include brian2/devices/cpp_standalone/templates/*
include brian2/devices/cpp_standalone/templates_GSL/*
include brian2/tests/test_templates/fake_package_1/templates/*
include brian2/tests/test_templates/fake_package_2/templates/*
include brian2/codegen/runtime/numpy_rt/templates/*
include brian2/codegen/runtime/GSLcython_rt/templates/*
include brian2/codegen/runtime/cython_rt/templates/*
include brian2/tests/*.ini
include brian2/tests/*.pyx
include brian2/tests/*.pxd
include brian2/tests/rallpack_data/*.0
include brian2/tests/rallpack_data/*.x
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ Tracker = 'https://github.com/brian-team/brian2/issues'

[tool.setuptools]
zip-safe = false
packages = ['brian2']
include-package-data = true

[tool.setuptools.packages.find]
include = ["brian2*"]

[tool.setuptools.dynamic]
readme = {file = 'README.rst', content-type = "text/x-rst"}
Expand Down

0 comments on commit 7e0b610

Please sign in to comment.