daline unit generator and runner
Project description
发布版打包步骤
- 切换python版本至python37
- 在pythonTB/DalineUnit中,运行pycPackage.py将文件打包为pyc
- 将打所有pyc文件拷贝至当前目录下DalineUnit文件夹下,所有需要的文件也拷到相同目录(比如目前的src文件夹,也会打包至whl中)
- 修改setup中version版本号,注意上传到pypi中的只能增加
- 命令行运行python setup.py bdist_wheel --python-tag=py37,生成dist\DalineUnit-0.0.44-py37-none-any.whl
- 切换python版本至python36,重复0-4
- 命令行运行twine upload dist/*,上传至pypi
打包本地测试版 -pyc
- 和上面一样,只是不允许6上传步骤
打包本地调试版 -.py
上述的打包方法都是pyc文件,无法调试,可以将python源文件打包成whl后,安装,然后可以调试 0. 将所有需要的python源文件拷贝至当前目录下DalineUnit文件夹下
- 命令行运行python setup.py bdist_wheel --python-tag=py37,生成dist\DalineUnit-0.0.44-py37-none-any.whl
- 运行pip install E:\Code\DalineUnitPackage\dist\DalineUnit-0.0.44-py37-none-any.whl
- 在python的安装目录,site-package/DalineUnit下可看到源文件,可以调试
- 建议debug在site-package/DalineUnit下修改源文件,调试完成后将.py文件拷回至pythonTB中,然后重新运行打包发布步骤
Project details
Release history Release notifications | RSS feed
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 Distributions
File details
Details for the file DalineUnit-0.0.69-py37-none-any.whl
.
File metadata
- Download URL: DalineUnit-0.0.69-py37-none-any.whl
- Upload date:
- Size: 3.7 MB
- Tags: Python 3.7
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1d6c3c067428a5d8d126b6312db9e68408f31729ba3b6cd890b30371d4fd97b |
|
MD5 | 91d99ff83cc60679e0453a9e9596a289 |
|
BLAKE2b-256 | a21094a239f3e0f6dcc63d91b59f838b132f736e10220b45c259c0679401c941 |
File details
Details for the file DalineUnit-0.0.69-py36-none-any.whl
.
File metadata
- Download URL: DalineUnit-0.0.69-py36-none-any.whl
- Upload date:
- Size: 3.7 MB
- Tags: Python 3.6
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf06ccc9c5418cef597d19ed7980a431b33dee41b19edff49c8a2f5eef1c79e2 |
|
MD5 | b6076f9d3af556ea669be8893d664436 |
|
BLAKE2b-256 | 13a78108339228ad50a917aa51ca8ab7d63cc3265fcceae90387cc97576f4e1c |