You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CheeseShop is a Python package repository. This is a local version of the well-known <http://pypi.python.org>. This is useful for enterprise users that need to share private Python libraries among developers.
8
+
9
+
To tell PIP where is your private CheeseShop, you must edit you *~/.pip/pip.conf* file:
10
+
11
+
[global]
12
+
index-url = http://my.shop.host:8000/simple
13
+
14
+
Where *my.shop.host* is the hostname of the machine running CheeseShop. PIP will call your CheeseShop to get packages. If CheeseShop doesn't host this package it will redirect PIP to standard Pypi.
15
+
16
+
To tell *setup.py* where to upload your package, you must edit file *~/.pypirc*:
17
+
18
+
[distutils]
19
+
index-servers =
20
+
pypi
21
+
cheeseshop
22
+
23
+
[pypi]
24
+
username: ***
25
+
password: ***
26
+
27
+
[cheeseshop]
28
+
username: spam
29
+
password: foo
30
+
repository: http://my.shop.host:8000/simple/
31
+
32
+
*setup.py* will call your CheeseShop if you tell it to use *cheeseshop* connection with following command line:
33
+
34
+
$ python setup.py sdist upload -r cheeseshop
35
+
36
+
Where `-r cheeseshop` is the option that indicates the connection you want to use. There must be a corresponding entry in your *~/.pypirc* configuration file. Don't forget to add *cheeseshop* in the *index-server* list at the beginning of the file.
8
37
9
38
Installation
10
39
------------
11
40
12
-
Download binary archive at <https://github.com/c4s4/cheeseshop/releases>, unzip it and copy the binary executable for your platform (named *cheeseshop-system-platform* in the *bin* directory) somewhere in yout*PATH* and rename it *cheeseshop*. This executable doesn't need any dependency or virtual machine to run.
41
+
Download binary archive at <https://github.com/c4s4/cheeseshop/releases>, unzip it and copy the binary executable for your platform (named *cheeseshop-system-platform* in the *bin* directory) somewhere in your*PATH* and rename it *cheeseshop*. This executable doesn't need any dependency or virtual machine to run.
13
42
14
43
There are binaries for following platforms:
15
44
@@ -87,4 +116,21 @@ And to disable start at boot:
87
116
88
117
$ sudo update-rc.d -f cheeseshop remove
89
118
119
+
Build CheeseShop
120
+
----------------
121
+
122
+
To build CheeseShop, you must install [Goyaml](https://github.com/go-yaml/yaml) and [GOX](https://github.com/mitchellh/gox) with following commands:
123
+
124
+
$ go get gopkg.in/yaml.v2
125
+
$ go get github.com/mitchellh/gox
126
+
$ gox -build-toolchain
127
+
128
+
Then you can use the make file to build the binary version for your platform:
0 commit comments