cd /home/soft/nexus-3.10
.0-04-unix/nexus-3.10
.0-04/bin
./nexus start
填寫遠端索引位址時用 , 不要用 pypi .
建立 hosted 倉庫,用於內部使用 mypypi-hosted
建立 group 倉庫把官方**和 hosted 倉庫包含進來 mypypi-group
# 要選擇所建三個倉庫中的hosted倉庫
[nexus]
repository=
username=your_username
password=your_password
[nexustest]
repository=
username=your_username
password=your_password
pip install twine
twine使方法
# coding=utf-8
from setuptools import setup
setup(
name='basespiders', # 應用名
version='1.0', # 版本號
author="codepande",
author_email="[email protected]",
description="封裝的基礎爬蟲",
long_description=open("readme.md").read(),
license="mit",
url="",
packages=[
'basecrawler',
'exception',
'hotupdate',
'mylogs',
'queues',
'utils',
],install_requires=[
"pika>=0.11.0",
"requests>=2.13.0",
"upyun==2.5.0",
"pycrypto==2.6.1",
],classifiers=[
"topic :: utilities",
"topic :: internet",
"topic :: software development :: libraries :: python modules",
"programming language :: python",
"programming language :: python :: 2",
"programming language :: python :: 2.6",
"programming language :: python :: 2.7",
],)
python setup.py sdist bdist_wheel
twine upload -r nexus dist/*
# -r 可以選擇倉庫位址
pip install basespiders -i
.12.196:8081/repository/mypypi-group/****** --trusted-host 192.168.12.196
使用 Nexus 搭建 PyPi 私服及上傳
最近一直在找pytho的包管理器pypi私服,通過google,找到比較流行的2種伺服器 nexus repository manager oss 3.x 與 devpi 安裝 執行啟動命令 cd home soft nexus 3.10.0 04 unix nexus 3.10.0 04 bin....
maven搭建私服nexus
1 先安裝nexus服務,path to bin jsw windows x86 64 此資料夾由你的作業系統確定 install,start 依次執行.bat檔案 2 瀏覽器位址列中,輸入 http localhost 8081 nexus nexus預設埠8081,你可以在path to con...
Nexus私服的搭建
安裝包為 nexus professional 2.14.5 02.jar nexus professional 2.14.5 02 bin執行 nexus.bat 使用命令列 時出現 切換至管理員狀態下,繼續執行,出現 切換路徑至 nexus professional 2.14.5 02 bin ...