need source packages

Asked by Savvas Radevic on 2009-05-12

Hi, can you prepare a source package with your every release in the future? It seems you missed 0.92.1 at https://launchpad.net/keryx/+download :)
Also, please create them as .tar.gz (tarballs).

Question information

Language:
English Edit question
Status:
Solved
For:
Keryx Edit question
Assignee:
No assignee Edit question
Solved by:
Chris Oliver
Solved:
2009-06-24
Last query:
2009-06-24
Last reply:
2009-06-24
Launchpad Janitor (janitor) said : #1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Savvas Radevic (medigeek) said : #2

still need an answer

Best Chris Oliver (excid3) said : #3

Sorry for the slow reply. It seems that Launchpad did not notify me for some reason.

The source is included in the download. The linux folder is all python scripts not compiled so that is why I did not package a separate source package just yet. I was rushed for the last release but we will make sure to do that from 1.0 on out.

Savvas Radevic (medigeek) said : #4

Thanks Chris Oliver, that solved my question.

Savvas Radevic (medigeek) said : #5

> The source is included in the download. The linux folder is all python scripts not compiled so that is why I did not package a separate source package just yet.

Well I wanted to take a shot in packaging it for Ubuntu/Debian, and Debian does not allow binaries in the original source package. I would have to split the linux folder from the source each time. But thanks, good to know that it will be done in the future. :)

Cheers!

Chris Oliver (excid3) said : #6

Great, maybe you can give me some pointers then for building a source package for each release. I'd like to learn how to do it as well and then we could probably script it for easy packaging each new release. :) Cheers!

Savvas Radevic (medigeek) said : #7

Hm.. I'm still a newcomer concerning programming and packaging, but you are using setup.py with distutils, right?

a) To make a source package, you execute: python setup.py sdist
b) You also need a MANIFEST file to tell setup.py which files to package with a source package.

That's all I needed in order to make a simple source package. Perhaps it could suit you as an example:
- Source code: http://bazaar.launchpad.net/~surl/surl/trunk/files
- Downloads: https://launchpad.net/surl/+download

Chris Oliver (excid3) said : #8

I'm using setup.py but it's only for py2exe support in order to build the
Windows executable. I've not looked into building a Debian package with
distutils yet. I'm going to make sure the next release will be much better
for packaging. :)

On Wed, Jun 24, 2009 at 12:59 AM, Savvas Radevic <
<email address hidden>> wrote:

> Question #70854 on Keryx changed:
> https://answers.edge.launchpad.net/keryx/+question/70854
>
> Savvas Radevic posted a new comment:
> Hm.. I'm still a newcomer concerning programming and packaging, but you
> are using setup.py with distutils, right?
>
> a) To make a source package, you execute: python setup.py sdist
> b) You also need a MANIFEST file to tell setup.py which files to package
> with a source package.
>
> That's all I needed in order to make a simple source package. Perhaps it
> could suit you as an example:
> - Source code: http://bazaar.launchpad.net/~surl/surl/trunk/files<http://bazaar.launchpad.net/%7Esurl/surl/trunk/files>
> - Downloads: https://launchpad.net/surl/+download
>
> --
> You received this question notification because you are a member of
> Keryx Development Team, which is an answer contact for Keryx.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~keryx<https://launchpad.net/%7Ekeryx>
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~keryx<https://launchpad.net/%7Ekeryx>
> More help : https://help.launchpad.net/ListHelp
>

--
Chris Oliver
http://excid3.com

Savvas Radevic (medigeek) said : #9

Thanks again!

Chris Oliver (excid3) said : #10

Hey Savvas,

We just packaged a new release and included a purely source package for download now as we will with all future releases. :)

http://edge.launchpad.net/keryx/stable/0.92/+download/keryx.zip