[reportlab-users] RE: setup scripts
Dirk Datzert
reportlab-users@reportlab.com
Sun, 22 Dec 2002 19:48:53 +0100
Dies ist eine mehrteilige Nachricht im MIME-Format.
--------------FF1BE0173A79DEE8552B2B67
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Andy Robinson schrieb:
>
> Much better. The binary files are now getting into the source
> distribution. 2 issues still:
>
> 1. I still have to change
> ext_modules = [Extension( 'reportlab/lib/_rl_accel',
> to just
> ext_modules = [Extension( '_rl_accel',
> in order for it to create the extensions, otherwise the linker
> fails. We intend to create the .so or .pyd files in the
> site-packages directory, not in reportlab.lib, be default,
> so that _rl_accel still works. Does it work for you after
> this change?
Yes. Changed all ext_module/Extension places into site-packages now.
>
> 2. Although the data files are included in the source distro,
> 'setup.py install' still fails to move them into the installed
> area. I guess we need them referred differently in setup.py
I thought of a setup-version for data_files which globs all data_files
via pattern-matching, but that doesn't worked yet :-(
>
I attached my current versions of MANIFEST.in (since I forgot *.ttf!)
and setup.py
Regards,
Dirk
--------------FF1BE0173A79DEE8552B2B67
Content-Type: application/x-unknown-content-type-in_auto_file;
name="MANIFEST.in"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="MANIFEST.in"
Z2xvYmFsLWluY2x1ZGUgKi5kdGQgKi50eHQgKi54bWwgKi55bWwNCmdsb2JhbC1pbmNsdWRl
ICouYyAqLmggKi5pbiAqLm1hc2hlZA0KZ2xvYmFsLWluY2x1ZGUgKi5naWYgKi5wbmcgKi5q
cGcgLmE4NQ0KZ2xvYmFsLWluY2x1ZGUgKi5BRk0gKi5QRkIgKi50dGYNCmdsb2JhbC1pbmNs
dWRlIFJFQURNRQ0KaW5jbHVkZSBjaGFuZ2VzDQo=
--------------FF1BE0173A79DEE8552B2B67
Content-Type: application/x-unknown-content-type-py_auto_file;
name="setup.py"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="setup.py"
IyBhIGRhbmdlcm91c2x5IGluY29tcGxldGUgYXR0ZW1wdCBhd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XNjcmlwdGlvbj0iUmVwb3J0bGFiIFBERiBnZW5l
cmF0aW9uIHRvb2xzIiwNCiAgICAgICAgICAgIGxvbmdfZGVzY3JpcHRpb249IiIiVGhlIFJl
cG9ydExhYiBQREYgR2VuZXJhdGlvbiB0b29scy4NCkFuIE9wZW4gU291cmNlIFB5dGhvbiBs
aWJyYXJ5IGZvciBnZW5lcmF0aW5nIFBERnMuDQoNClRoaXMgaW5zdGFsbGVyIGNyZWF0ZWQg
dXNpbmcgZGlzdHV0aWxzIGJ5IEpvaG4gUHJlY2Vkby4NCiIiIiwNCg0KICAgICAgICAgICAg
YXV0aG9yPSJUaGUgYm95cyBmcm9tIFNXMTkiLA0KICAgICAgICAgICAgYXV0aG9yX2VtYWls
PSJpbmZvQHJlcG9ydGxhYi5jb20iLA0KICAgICAgICAgICAgdXJsPSJodHRwOi8vd3d3LnJl
cG9ydGxhYi5jb20vIiwNCg0KICAgICAgICAgICAgcGFja2FnZV9kaXIgPSB7J3JlcG9ydGxh
Yic6ICcuJ30sDQoNCiAgICAgICAgICAgIHBhY2thZ2VzPVsgIyBpbmNsdWRlIGFueXRoaW5n
IHdpdGggYW4gX19pbml0X18NCiAgICAgICAgICAgICAgICAgICAgJ3JlcG9ydGxhYicsDQog
ICAgICAgICAgICAgICAgICAgICdyZXBvcnRsYWIuZGVtb3MnLA0KICAgICAgICAgICAgICAg
ICAgICAncmVwb3J0bGFiLmRlbW9zLmNvbG9ycycsDQogICAgICAgICAgICAgICAgICAgICdy
ZXBvcnRsYWIuZGVtb3MuZ2FkZmx5cGFwZXInLA0KICAgICAgICAgICAgICAgICAgICAncmVw
b3J0bGFiLmRlbW9zLm9keXNzZXknLA0KICAgICAgICAgICAgICAgICAgICAncmVwb3J0bGFi
LmRlbW9zLnJsem9wZScsDQogICAgICAgICAgICAgICAgICAgICdyZXBvcnRsYWIuZGVtb3Mu
c3RkZm9udHMnLA0KICAgICAgICAgICAgICAgICAgICAncmVwb3J0bGFiLmRlbW9zLnRlc3Rz
JywNCiAgICAgICAgICAgICAgICAgICAgJ3JlcG9ydGxhYi5kb2NzJywNCiAgICAgICAgICAg
ICAgICAgICAgJ3JlcG9ydGxhYi5kb2NzLmdyYXBoZ3VpZGUnLA0KICAgICAgICAgICAgICAg
ICAgICAncmVwb3J0bGFiLmRvY3MucmVmZXJlbmNlJywNCiAgICAgICAgICAgICAgICAgICAg
J3JlcG9ydGxhYi5kb2NzLnVzZXJndWlkZScsDQogICAgICAgICAgICAgICAgICAgICdyZXBv
cnRsYWIuZ3JhcGhpY3MnLA0KICAgICAgICAgICAgICAgICAgICAncmVwb3J0bGFiLmdyYXBo
aWNzLmNoYXJ0cycsDQogICAgICAgICAgICAgICAgICAgICdyZXBvcnRsYWIuZ3JhcGhpY3Mu
d2lkZ2V0cycsDQogICAgICAgICAgICAgICAgICAgICdyZXBvcnRsYWIubGliJywNCiAgICAg
ICAgICAgICAgICAgICAgJ3JlcG9ydGxhYi5wZGZiYXNlJywNCiAgICAgICAgICAgICAgICAg
ICAgJ3JlcG9ydGxhYi5wZGZnZW4nLA0KICAgICAgICAgICAgICAgICAgICAncmVwb3J0bGFi
LnBsYXR5cHVzJywNCiAgICAgICAgICAgICAgICAgICAgJ3JlcG9ydGxhYi50ZXN0JywNCiAg
ICAgICAgICAgICAgICAgICAgJ3JlcG9ydGxhYi50b29scycsDQogICAgICAgICAgICAgICAg
ICAgICdyZXBvcnRsYWIudG9vbHMuZG9jY28nLA0KICAgICAgICAgICAgICAgICAgICAncmVw
b3J0bGFiLnRvb2xzLnB5MnBkZicsDQogICAgICAgICAgICAgICAgICAgICdyZXBvcnRsYWIu
dG9vbHMucHl0aG9ucG9pbnQnLA0KICAgICAgICAgICAgICAgICAgICAncmVwb3J0bGFiLnRv
b2xzLnB5dGhvbnBvaW50LmRlbW9zJywNCiAgICAgICAgICAgICAgICAgICAgJ3JlcG9ydGxh
Yi50b29scy5weXRob25wb2ludC5zdHlsZXMnLA0KICAgICAgICAgICAgICAgICAgICAgXSwN
CiAgICAgICAgICAgICAgZGF0YV9maWxlcyA9IFsocGpvaW4ocGFja2FnZV9wYXRoLCAnZG9j
cycsICdpbWFnZXMnKSwNCgkJCQlbJ2RvY3MvaW1hZ2VzL0VkaXRfUHJlZnMuZ2lmJywNCiAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICdkb2NzL2ltYWdlcy9QeXRob25fMjEu
Z2lmJywNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICdkb2NzL2ltYWdlcy9Q
eXRob25fMjFfSElOVC5naWYnLA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
J2RvY3MvaW1hZ2VzL2ZpbGVFeGNoYW5nZS5naWYnLA0KICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgJ2RvY3MvaW1hZ2VzL2pwbi5naWYnLA0KICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgJ2RvY3MvaW1hZ2VzL2pwbmNoYXJzLmpwZycsDQogICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAnZG9jcy9pbWFnZXMvbGo4MTAwLmpwZycsDQogICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAnZG9jcy9pbWFnZXMvcmVwbG9nby5hODUn
LA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJ2RvY3MvaW1hZ2VzL3JlcGxv
Z28uZ2lmJ10pLA0KCQkJICAgIChwam9pbihwYWNrYWdlX3BhdGgsICdmb250cycpLCANCgkJ
CQlbJ2ZvbnRzL0xlRVJDX19fLkFGTScsDQogICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAnZm9udHMvTGVFUkNfX18uUEZCJywNCiAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICdmb250cy9sdXhpc2VyaWYudHRmJywNCiAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICdmb250cy9sdXhpc2VyaWZfbGljZW5zZS50eHQnLA0KICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgJ2ZvbnRzL3JpbmEudHRmJywNCiAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICdmb250cy9yaW5hX2xpY2Vuc2UudHh0J10pLA0KCQkJICAg
IChwYWNrYWdlX3BhdGgsDQoJCQkJWydSRUFETUUnLA0KCQkJCSAnY2hhbmdlcycsDQoJCQkJ
ICdsaWNlbnNlLnR4dCddKSwNCgkJCSAgICAocGpvaW4ocGFja2FnZV9wYXRoLCAndGVzdCcp
LA0KCQkJCVsndGVzdC9weXRob25wb3dlcmVkLmdpZicsXSksDQoJCQkgICAgKHBqb2luKHBh
Y2thZ2VfcGF0aCwgJ2xpYicpLA0KCQkJCVsnbGliL2h5cGhlbi5tYXNoZWQnLF0pLA0KCQkJ
XSwNCg0KICAgICAgICAgICAgZXh0X21vZHVsZXMgPSAgIFtFeHRlbnNpb24oICdfcmxfYWNj
ZWwnLA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFsnbGliL19y
bF9hY2NlbC5jJ10sDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
aW5jbHVkZV9kaXJzPVtdLA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgIGRlZmluZV9tYWNyb3M9W10sDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgbGlicmFyeV9kaXJzPVtdLA0KICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgIGxpYnJhcmllcz1MSUJTLCAjIGxpYnJhcmllcyB0byBsaW5rIGFnYWlu
c3QNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICApLA0KICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICBFeHRlbnNpb24oICdzZ21sb3AnLA0KICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFsnbGliL3NnbWxvcC5jJ10sDQogICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaW5jbHVkZV9kaXJzPVtdLA0K
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRlZmluZV9tYWNyb3M9
W10sDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGlicmFyeV9k
aXJzPVtdLA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxpYnJh
cmllcz1MSUJTLCAjIGxpYnJhcmllcyB0byBsaW5rIGFnYWluc3QNCiAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICApLA0KICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICBFeHRlbnNpb24oICdweUhuaicsDQogICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgWydsaWIvcHlIbmptb2R1bGUuYycsDQogICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICdsaWIvaHlwaGVuLmMnLA0KICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAnbGliL2huamFsbG9jLmMnXSwNCiAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpbmNsdWRlX2RpcnM9W10sDQogICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZGVmaW5lX21hY3Jvcz1bXSwN
CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsaWJyYXJ5X2RpcnM9
W10sDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGlicmFyaWVz
PUxJQlMsICMgbGlicmFyaWVzIHRvIGxpbmsgYWdhaW5zdA0KICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICksDQogICAgICAgICAgICAgICAgICAgICAgICAgICAg
XSwNCg0KICAgICAgICApDQoNCmlmIF9fbmFtZV9fPT0nX19tYWluX18nOg0KICAgIHJ1bigp
DQo=
--------------FF1BE0173A79DEE8552B2B67--