File: INSTALL

package info (click to toggle)
python-gnutls 3.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 344 kB
  • sloc: python: 3,170; makefile: 2
file content (89 lines) | stat: -rw-r--r-- 2,068 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89

Installation procedure
----------------------

1. Linux / UNIX

Build dependencies:
 - gcc
 - python and python-dev (>= 2.7)

Runtime dependencies:
 - libgnutls (>= 3.2.0)
 - libgnutls dependencies
 - python (>= 2.7)

To build and install python-gnutls run:

python setup.py install


2. Mac OS X

Build dependencies:
 - Mac OS X Leopard (10.5) or Snow Leopard (10.6)
 - Apple Developer Tools (XCode)

Runtime dependencies:
 - libgnutls (>= 3.2.0)
 - libgnutls dependencies
 - python (this is already preinstalled on every OS X)

Note: libgnutls and its dependencies can be installed from Homebre, MacPorts, Fink or
by compiling and installing them from source.

To build and install python-gnutls run:

python setup.py install


3. Windows

This was only tested on Windows XP. Other Windows versions may work, but
they were not tested.

Build dependencies:
 - Visual Studio (the version must match the one used to build the python
   interpreter that will be used. For example the python-2.7 windows
   binaries from python.org were built with Visual Studio 9)
 - libpthreads (http://sourceware.org/pthreads-win32)
 - python and python-dev (>= 2.7) (select to include the development files
   when installing python)

Runtime dependencies:
 - libgnutls (>= 3.2)
 - libgnutls dependencies
 - libpthreads
 - python (>= 2.7)

Before building python-gnutls, copy the pthread header files (pthread.h,
sched.h, semaphore.h) to C:\Developer\include\ and the pthread developer
libraries (libpthread*.a and pthread*.lib) to C:\Developer\lib\ (create
these directories first).

To build and install python-gnutls run:

python setup.py install

In order to run an application based on python-gnutls, make sure that the
DLLs mentioned in the runtime dependencies (pthread*.dll, libgnutls*.dll,
etc) are somewhere in %PATH%


4. Cygwin

Build dependencies:
 - cygwin (>= 1.7.1)
 - gcc
 - python and python-dev (>= 2.7)

Runtime dependencies:
 - libgnutls (>= 3.2.0)
 - libgnutls dependencies
 - python (>= 2.7)

To build and install python-gnutls run:

python setup.py install