Simple setup.py file for python module distribution


/ Published in: Python
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.