Edward,

((long story short: program description built by setup.py, PKG-INFO,
doesn't match PKG-INFO.TXT))

I'm reverse engineering what I think you do and maybe have reached wrong
conclusion about the workflow, please correct at will. Anyway, here goes:

- At the top level there is are PKG-INFO.TXT and README.TXT files which are
built from leo/dist/LeoDist.leo.

- When conducting a release on pypi.org PKG-INFO.TXT is uploaded via the
web submission form (e.g.
https://pypi.python.org/pypi?:action=submit_form&name=leo&version=5.0-alpha-2
)

There is an alternate route to the same/similar end:

- add setup.py to LeoDist.leo (and remove PKG-INFO.TXT)
- update setup.py as needed (normally not needed, but today I added MacOS)
- run "python setup.py sdist upload", which:
  - builds an source distribution tree,
  - generates PKG-INFO (note no extension), sucking README.TXT into the
"long description" field
  - uploads to pypi.org,
  - updates or creates the program's homepage (
https://pypi.python.org/pypi/leo)

Which route is "better" depends on user preference and workflow. Getting
the upload portion to work can be a bit of work due to configuring .pypirc
properly and so on (but once done properly is fire and forget).

I'm proposing the 2nd route be the default. Committing an example of
changes in a few minutes.

-matt

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to