[ https://issues.apache.org/jira/browse/AVRO-136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Hunt updated AVRO-136: ------------------------------ Attachment: AVRO-136.patch This patch includes changes to generate both a distutils source package and a setuptools egg you can verify the generated egg with: PYTHONPATH=avro-1.2.0-py2.6.egg python then try "import avro" or "import avro.io" see this for general end-user workflow on using the source pkg http://docs.python.org/distutils/introduction.html#a-simple-example with the egg it's just "easy_install <egg>" (which is usually on pypi) You'll need to get an account on pypi if you want to upload the egg/srcdist, here's the applicable section, seems like we'll have to use item 2 (manual upload) due to the fact that we generate the artifacts, vote, then upload http://wiki.python.org/moin/CheeseShopTutorial#PackageDistributionFiles note: the setup.py in this patch must be updated a bit, for 2 issues: 1) update the author and author_email, this is displayed on pypi (and I believe tied to the pypi account) 2) the avro version is included in the setup.py. This will have to be updated on each version change, perhaps it's scriptable? also notice that i've included odict in the packages (incl license file), but not simplejson - simplejson is available on pypi and will be automatically d/l if easy_install is used. > add support for building/releasing python eggs > ---------------------------------------------- > > Key: AVRO-136 > URL: https://issues.apache.org/jira/browse/AVRO-136 > Project: Avro > Issue Type: Improvement > Components: python > Affects Versions: 1.1.0 > Reporter: Patrick Hunt > Assignee: Patrick Hunt > Fix For: 1.2.0 > > Attachments: AVRO-136.patch > > > Add support for building and releasing python eggs via python's setuptools. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.