jw module
Project description
## python ##
### 常用命令 ###
python -m -pip install XX
使用pip的时候在后面加上-i参数,指定pip的下载源
pip install numpy -i https://pypi.tuna.tsinghua.edu.cn/simple
上面命令每次运行需要指定网址,可进行永久修改:
windows下: 在user目录中创建一个pip目录,如:C:Users(用户)xxpip,新建文件pip.ini,内容如下
[global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple
linux下: 修改 ~/.pip/pip.conf (如果没有自己创建一个), 内容如下:
[global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple
参考:https://blog.csdn.net/yamadeee/article/details/80178996
## 安装模块 ##
python setup.py build python setup.py sdist
python -m pip install twine $ https://pypi.org/manage/projects/
可以配置到$HOME/.pypirc文件中,就不用多次输入了
[pypi] username = <username> password = <password>
再使用twine发布到服务器:
twine upload 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 Distribution
File details
Details for the file jw_test-1.0.4.tar.gz.
File metadata
- Download URL: jw_test-1.0.4.tar.gz
- Upload date:
- Size: 1.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0690d43fe133e19c7ee82402bdc08b90c939337622f1743a65cfcaf2625aa19f
|
|
| MD5 |
ffcad21d3f0233858d21492b53508538
|
|
| BLAKE2b-256 |
f31d48c4fa921e689c12ffa03d7ca13e0f1244a68b4b66c8e97328b64e6a697e
|