Skip to content

Commit 4f802b1

Browse files
author
Michel Casabianca
committed
Release 1.3.1: Improved documentation
2 parents 28d7864 + bd3cb1a commit 4f802b1

File tree

2 files changed

+52
-2
lines changed

2 files changed

+52
-2
lines changed

Diff for: CHANGELOG.yml

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Semantic changelog: https://github.com/c4s4/changelog
22

3+
- version: 1.3.1
4+
date: 2015-07-29
5+
summary: Improved documentation
6+
37
- version: 1.3.0
48
date: 2015-07-29
59
summary: Added configuration file

Diff for: README.md

+48-2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,41 @@ CheeseShop
44
- Project: <https://github.com/c4s4/cheeseshop>
55
- Downloads: <https://github.com/c4s4/cheeseshop/releases>
66

7-
CheeseShop is a Python package repository.
7+
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.
837

938
Installation
1039
------------
1140

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.
1342

1443
There are binaries for following platforms:
1544

@@ -87,4 +116,21 @@ And to disable start at boot:
87116

88117
$ sudo update-rc.d -f cheeseshop remove
89118

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:
129+
130+
$ make build
131+
132+
To build binaries for all platforms, type:
133+
134+
$ make compile
135+
90136
*Enjoy!*

0 commit comments

Comments
 (0)