Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork939
Commit3fbbfd7
committed
Omit py_modules in setup
This removes the py_modules keyword argument in the call to setup,and further shortens/simplifies setup.py by removing the now-unusedbuild_py_modules function.The packages keyword argument already covers this, because we haveno loose modules that are included in the distribution, and thecall to find_packages:- Omits everything in test/ because it is directed to do so in the call.- Omits the gitdb/ directory (currently existing as a git submodule, not to be confused with Python submodules), because the ext/ directory that contains it does not itself directly contain an __init__.py file, so it is not a traditional package, yet ext/ is contained and found inside the directory git/ that *is* a traditional package, so the ext/ directory is not a namespace package either.- Includes all other modules, recursively, because they are all in a recursive traditional package structure under git/ that find_packages recognizes.To verify that this includes the same files in the built wheel andsdist distributions, I have listed the contents of the wheel with"unzip -l" and the sdist .tar.gz file with "tar tf" both before andafter this change, verifying they list all the same entries.1 parente8c3085 commit3fbbfd7
1 file changed
+0
-20
lines changedLines changed: 0 additions & 20 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
8 | 7 |
| |
9 | 8 |
| |
10 | 9 |
| |
| |||
62 | 61 |
| |
63 | 62 |
| |
64 | 63 |
| |
65 |
| - | |
66 |
| - | |
67 |
| - | |
68 |
| - | |
69 |
| - | |
70 |
| - | |
71 |
| - | |
72 |
| - | |
73 |
| - | |
74 |
| - | |
75 |
| - | |
76 |
| - | |
77 |
| - | |
78 |
| - | |
79 |
| - | |
80 |
| - | |
81 |
| - | |
82 |
| - | |
83 | 64 |
| |
84 | 65 |
| |
85 | 66 |
| |
| |||
91 | 72 |
| |
92 | 73 |
| |
93 | 74 |
| |
94 |
| - | |
95 | 75 |
| |
96 | 76 |
| |
97 | 77 |
| |
|
0 commit comments
Comments
(0)