Unable to specify directory recursion in setup.cfg extra_files (original) (raw)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})
[files] |
---|
modules = nemo |
packages = virtualenvwrapper |
scripts = nemo |
extra_files = |
hooks.py |
winfiles/** |
vinay@eta-natty:~/projects/nemo$ tar tvf dist/nemo-0.1.tar.gz |
drwxr-xr-x vinay/vinay 0 2011-06-22 22:14 nemo-0.1/ |
drwxr-xr-x vinay/vinay 0 2011-06-22 22:14 nemo-0.1/virtualenvwrapper/ |
-rw-r--r-- vinay/vinay 4813 2011-06-22 22:14 nemo-0.1/virtualenvwrapper/hook_loader.py |
-rw-r--r-- vinay/vinay 8688 2011-06-22 22:14 nemo-0.1/virtualenvwrapper/user_scripts.py |
-rw-r--r-- vinay/vinay 89 2011-06-22 22:14 nemo-0.1/virtualenvwrapper/__init__.py |
drwxr-xr-x vinay/vinay 0 2011-06-22 22:14 nemo-0.1/winfiles/ |
-rw-r--r-- vinay/vinay 64 2011-06-22 22:14 nemo-0.1/winfiles/Reload.ps1 |
-rw-r--r-- vinay/vinay 338 2011-06-22 22:14 nemo-0.1/winfiles/Setup.ps1 |
-rw-r--r-- vinay/vinay 627 2011-06-22 22:14 nemo-0.1/winfiles/RELEASE_NOTES.TXT |
-rw-r--r-- vinay/vinay 47 2011-06-22 22:14 nemo-0.1/nemo |
-rw-r--r-- vinay/vinay 20022 2011-06-22 22:14 nemo-0.1/virtualenvwrapper.sh |
-rw-r--r-- vinay/vinay 918 2011-06-22 22:14 nemo-0.1/setup.cfg |
-rw-r--r-- vinay/vinay 2047 2011-06-22 22:14 nemo-0.1/hooks.py |
-rw-r--r-- vinay/vinay 704 2011-06-22 22:14 nemo-0.1/PKG-INFO |
-rw-r--r-- vinay/vinay 14772 2011-06-22 22:14 nemo-0.1/nemo.py |
vinay@eta-natty:~/projects/nemo$ tree winfiles |
winfiles |
├── RELEASE_NOTES.TXT |
├── Reload.ps1 |
├── Setup.ps1 |
└── virtualenvwrapper |
├── en-US |
│ └── about_virtualenvwrapperForWindows.help.txt |
├── support.psm1 |
├── virtualenvwrapper.psd1 |
├── virtualenvwrapper.psm1 |
└── win.psm1 |
2 directories, 8 files |
vinay@eta-natty:~/projects/nemo$ python3.3 |
Python 3.3a0 (default:cbbf958ba4f5+d1d5a7392e39+, Jun 22 2011, 12:27:32) |
[GCC 4.5.2] on linux2 |
Type "help", "copyright", "credits" or "license" for more information. |
>>> import packaging.dist |
>>> dist = packaging.dist.Distribution() |
>>> import packaging.config |
>>> conf = packaging.config.Config(dist) |
>>> conf.parse_config_files(['setup.cfg']) |
>>> dist.extra_files |
['hooks.py', 'winfiles/**'] |
So the faulty processing is done at some later time, most likely in the Manifest class. |