Skip to main content

This is the SDK for example.

Project description

mtxcms

zappa + aws + rest 后端。

问题排查:

1: .venv ,虚拟环境会影响实际部署, 如果出现莫名奇妙的问题,优先考虑重建虚拟环境。

rm -rdf .venv && python3.9 -m venv .venv && . .venv/bin/activate && pip install -r requirements.txt 

开发环境

sudo apt-get install -y rpm pip3 install wheel

打包命令

# python3 setup.py sdist bdist_wheel
# exe 包
$ python setup.py bdist_wininst

# rpm 包
$ python setup.py bdist_rpm

# egg 包
$ python setup.py bdist_egg

# 生成多个格式的进制包
$ python setup.py bdist

安装

将模块安装至系统全局环境

$ python setup.py install

在系统环境中创建一个软链接指向包实际所在目录

$ python setup.py develop

卸载

$ python setup.py develop --uninstall $ python setup.py develop -u

发布命令

python3 setup.py sdist bdist_wheel
twine upload -u mattwin -p "xIl1*yingzi606" dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

mtpylib-0.0.16-py3-none-any.whl (90.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page