Posted By

arcturus on 10/26/07


Tagged

python module distribution


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

danigm
mustapha


Simple setup.py file for python module distribution


 / Published in: Python
 

  1. #!/usr/bin/env python
  2.  
  3. from distutils.core import setup
  4.  
  5. setup(name = "fsd",
  6. version = "1.1.3",
  7. description = "Free Software Dispatcher is a tool born with the aim of help distributing Free Software",
  8. author = "Francisco Jesus Jordano Jimenez",
  9. author_email = "[email protected]",
  10. url = "https://forja.rediris.es/projects/fsd",
  11. packages=["fsd","fsd.common","fsd.config"],
  12. data_files=[("/usr/share/fsd/ui",["ui/brasero.png","ui/dvdrom.png","ui/fsd-main.glade","ui/linux.png","ui/media-optical.png","ui/noimage.jpg","ui/osx.png","ui/solaris.png","ui/windows.png"]),
  13. ("/usr/share/fsd/",["db/database.db3","db/database.sql"]),
  14. ("/usr/local/bin/",["fsd/fsd.py"])]
  15. )

Report this snippet  

You need to login to post a comment.