3 | | I've started drafting a new [wiki:TracPlugins] page. I'd like to recommend installing in the wheel format, but need to better understand under what conditions this will happen. |
4 | | |
5 | | For example, wheel available on PyPI => wheel installed: |
6 | | {{{#!sh |
7 | | $pip install --no-cache-dir trac |
8 | | Collecting trac |
9 | | Downloading Trac-1.2-py2-none-any.whl (3.8MB) |
10 | | 100% |████████████████████████████████| 3.8MB 1.7MB/s |
11 | | Requirement already satisfied: setuptools>=0.6 in ./pve/lib/python2.7/site-packages (from trac) |
12 | | Requirement already satisfied: Genshi>=0.6 in ./pve/lib/python2.7/site-packages (from trac) |
13 | | Installing collected packages: trac |
14 | | Successfully installed trac-1.2 |
15 | | }}} |
16 | | |
17 | | Tarball on PyPI => wheel installed: |
18 | | {{{#!sh |
19 | | $pip install TracTags |
20 | | Collecting TracTags |
21 | | Requirement already satisfied: Trac in ./pve/lib/python2.7/site-packages (from TracTags) |
22 | | Requirement already satisfied: setuptools>=0.6 in ./pve/lib/python2.7/site-packages (from Trac->TracTags) |
23 | | Requirement already satisfied: Genshi>=0.6 in ./pve/lib/python2.7/site-packages (from Trac->TracTags) |
24 | | Installing collected packages: TracTags |
25 | | Successfully installed TracTags-0.9 |
26 | | }}} |
27 | | |
28 | | Install from SVN repository => egg installed: |
29 | | {{{#!sh |
30 | | $pip install svn+https://trac-hacks.org/svn/accountmanagerplugin/trunk/ |
31 | | Collecting svn+https://trac-hacks.org/svn/accountmanagerplugin/trunk/ |
32 | | Checking out https://trac-hacks.org/svn/accountmanagerplugin/trunk/ to /private/var/folders/qf/y5yt86vn54j_sy7dv1f8hb3r0000gn/T/pip-h5t4s1-build |
33 | | Requirement already satisfied: Trac in ./pve/lib/python2.7/site-packages (from TracAccountManager==0.5.dev0) |
34 | | Requirement already satisfied: setuptools>=0.6 in ./pve/lib/python2.7/site-packages (from Trac->TracAccountManager==0.5.dev0) |
35 | | Requirement already satisfied: Genshi>=0.6 in ./pve/lib/python2.7/site-packages (from Trac->TracAccountManager==0.5.dev0) |
36 | | Installing collected packages: TracAccountManager |
37 | | Running setup.py install for TracAccountManager ... done |
38 | | Successfully installed TracAccountManager-0.5.dev0 |
39 | | }}} |
40 | | |
41 | | Install from exported zip => egg installed: |
42 | | {{{#!sh |
43 | | $pip install voteplugin.zip |
44 | | Processing ./voteplugin.zip |
45 | | Requirement already satisfied: Trac in ./pve/lib/python2.7/site-packages (from TracVote==0.6.0.dev0) |
46 | | Requirement already satisfied: setuptools>=0.6 in ./pve/lib/python2.7/site-packages (from Trac->TracVote==0.6.0.dev0) |
47 | | Requirement already satisfied: Genshi>=0.6 in ./pve/lib/python2.7/site-packages (from Trac->TracVote==0.6.0.dev0) |
48 | | Installing collected packages: TracVote |
49 | | Running setup.py install for TracVote ... done |
50 | | Successfully installed TracVote-0.6.0.dev0 |
51 | | }}} |
52 | | |
53 | | `dist-info` is wheel, `egg-info` is egg: |
54 | | {{{#!sh |
55 | | $ls -d pve/lib/python2.7/site-packages/Trac* |
56 | | pve/lib/python2.7/site-packages/Trac-1.2.dist-info |
57 | | pve/lib/python2.7/site-packages/TracAccountManager-0.5.dev0-py2.7.egg-info |
58 | | pve/lib/python2.7/site-packages/TracTags-0.9.dist-info |
59 | | pve/lib/python2.7/site-packages/TracVote-0.6.0.dev0-py2.7.egg-info |
60 | | }}} |
61 | | |
62 | | If all Trac, dependencies and plugins are installed in wheel format, maybe the [TracPlugins#Settinguptheplugincache egg cache] is no longer relevant? |
| 3 | I've started drafting a new [wiki:TracPlugins] page. I'd like to recommend installing in the wheel format and remove information about eggs. If all Trac, dependencies and plugins are installed in wheel format, maybe the [TracPlugins#Settinguptheplugincache egg cache] is no longer relevant? |