这个包为要构建的python包创建了一个框架。
python-module-starter的Python项目详细描述
#PYPI启动项目
[![构建状态](https://travis-ci.org/wuhaifengdhu/python-module-starter.svg?branch=master)(https://travis ci.org/wuaifengdhu/python module starter)
[![codecov](https://codecov.io/gh/wuaifengdhu/python module starter/branch/master/graph/badge.svg)(https://codecov.io/gh/wuaifengdhu/python module starter)
这是一个模板存储库,您可以使用它快速创建一个可以构建、测试的python应用程序,并作为内部python模块发布。
##构建
*linux*
`` bash
virtualenv env
。env/bin/activate
pip install-e.
````
*windows*
`` bash
virtuallenv-env
env\scripts\activat
pip install-e.
``` `
` ` ` `
` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `
```
进去![pypi](https://pypi.org/)
*使用600在主文件夹中创建file.pypirc。
```[distutils]
index server=
pypi
pypi test
[pypi]
repository=https://upload.pypi.org/legacy/
username=your搌username
password=your搌password
[pypitest]
repository=https://test.pypi.org/legacy/
username=your搌username
password=your搌password
``
repository
``
python setup.py bdist_wheel——通用的绳线上传距离/*
``
[![构建状态](https://travis-ci.org/wuhaifengdhu/python-module-starter.svg?branch=master)(https://travis ci.org/wuaifengdhu/python module starter)
[![codecov](https://codecov.io/gh/wuaifengdhu/python module starter/branch/master/graph/badge.svg)(https://codecov.io/gh/wuaifengdhu/python module starter)
这是一个模板存储库,您可以使用它快速创建一个可以构建、测试的python应用程序,并作为内部python模块发布。
##构建
*linux*
`` bash
virtualenv env
。env/bin/activate
pip install-e.
````
*windows*
`` bash
virtuallenv-env
env\scripts\activat
pip install-e.
``` `
` ` ` `
` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `
```
进去![pypi](https://pypi.org/)
*使用600在主文件夹中创建file.pypirc。
```[distutils]
index server=
pypi
pypi test
[pypi]
repository=https://upload.pypi.org/legacy/
username=your搌username
password=your搌password
[pypitest]
repository=https://test.pypi.org/legacy/
username=your搌username
password=your搌password
``
repository
``
python setup.py bdist_wheel——通用的绳线上传距离/*
``