Show More
@@ -4,7 +4,6 b' include LICENSE' | |||||
4 | include setupbase.py |
|
4 | include setupbase.py | |
5 | include _build_meta.py |
|
5 | include _build_meta.py | |
6 | include MANIFEST.in |
|
6 | include MANIFEST.in | |
7 | include py.typed |
|
|||
8 | include .mailmap |
|
7 | include .mailmap | |
9 | include .flake8 |
|
8 | include .flake8 | |
10 | include .pre-commit-config.yaml |
|
9 | include .pre-commit-config.yaml |
@@ -188,7 +188,6 b' pythonPlatform="All"' | |||||
188 | zip-safe = false |
|
188 | zip-safe = false | |
189 | platforms = ["Linux", "Mac OSX", "Windows"] |
|
189 | platforms = ["Linux", "Mac OSX", "Windows"] | |
190 | license-files = ["LICENSE"] |
|
190 | license-files = ["LICENSE"] | |
191 | include-package-data = false |
|
|||
192 |
|
191 | |||
193 | [tool.setuptools.packages.find] |
|
192 | [tool.setuptools.packages.find] | |
194 | exclude = ["setupext"] |
|
193 | exclude = ["setupext"] |
@@ -89,26 +89,9 b' def find_packages():' | |||||
89 | return packages |
|
89 | return packages | |
90 |
|
90 | |||
91 | #--------------------------------------------------------------------------- |
|
91 | #--------------------------------------------------------------------------- | |
92 |
# |
|
92 | # Check package data | |
93 | #--------------------------------------------------------------------------- |
|
93 | #--------------------------------------------------------------------------- | |
94 |
|
94 | |||
95 | def find_package_data(): |
|
|||
96 | """ |
|
|||
97 | Find IPython's package_data. |
|
|||
98 | """ |
|
|||
99 | # This is not enough for these things to appear in an sdist. |
|
|||
100 | # We need to muck with the MANIFEST to get this to work |
|
|||
101 |
|
||||
102 | package_data = { |
|
|||
103 | 'IPython.core' : ['profile/README*'], |
|
|||
104 | 'IPython.core.tests' : ['*.png', '*.jpg', 'daft_extension/*.py'], |
|
|||
105 | 'IPython.lib.tests' : ['*.wav'], |
|
|||
106 | 'IPython.testing.plugin' : ['*.txt'], |
|
|||
107 | } |
|
|||
108 |
|
||||
109 | return package_data |
|
|||
110 |
|
||||
111 |
|
||||
112 | def check_package_data(package_data): |
|
95 | def check_package_data(package_data): | |
113 | """verify that package_data globs make sense""" |
|
96 | """verify that package_data globs make sense""" | |
114 | print("checking package data") |
|
97 | print("checking package data") |
General Comments 0
You need to be logged in to leave comments.
Login now