[ 
https://issues.apache.org/jira/browse/AVRO-482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12856667#action_12856667
 ] 

Jeff Hammerbacher commented on AVRO-482:
----------------------------------------

It looks like the Java implementation uses

{code}
  <loadresource property="version">
    <file file="${basedir}/../../share/VERSION.txt"/>
  </loadresource>
{code}

To pull the VERSION.txt content into an Ant property. The <filter> can do token 
replacement in setup.py before calling {{python setup.py build sdist upload}}.

Will try out this trickery and post a patch if it works...

> Improve and standardize process for publishing Python release artifacts to 
> PyPI
> -------------------------------------------------------------------------------
>
>                 Key: AVRO-482
>                 URL: https://issues.apache.org/jira/browse/AVRO-482
>             Project: Avro
>          Issue Type: Improvement
>          Components: python
>            Reporter: Jeff Hammerbacher
>
> We are now publishing Avro releases to PyPI. Let's make sure things work as 
> planned.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to