Code Monkey home page Code Monkey logo

setup.py's Introduction

📦 setup.py

setup.py 是分发 Python 模块的标准,运行它可以打包应用并将其上传到 Pypi 或你自己的服务器。

但是在新开始一个 Python 项目的时候 setup.py 文件总让人望而生畏,因此本项目希望能够提供一些 setup.py 的先进模式和最佳实践,通过注释和模板来引导你快速开始一个项目。

一些最佳实践:

  • 使用 $ python setup.py upload 命令创建 universal wheel (和 sdist) ,然后通过 Twine 把包上传到 Pypi,这样就不再需要烦人的 setup.cfg 文件了。另外,它还会自动创建/上传一个新的 git tag。

License

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

✨🍰✨

setup.py's People

Contributors

bxiaopeng avatar finiteautomata avatar funkybob avatar jplock avatar kennethreitz avatar l2dy avatar lethargilistic avatar matan129 avatar methane avatar remyleone avatar zed avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.