简单设置.pypython模块分发文件

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了简单设置.pypython模块分发文件相关的知识,希望对你有一定的参考价值。

  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. )

以上是关于简单设置.pypython模块分发文件的主要内容,如果未能解决你的问题,请参考以下文章

在同一台电脑安装python 2 和3,并且怎样安装各自的pip和模块

Python 基础

python基础复习-1-1文件类型变量运算符表达式

PythonPython基础

Lesson 008 —— python 初识

pypython解构