@@ -6,6 +6,11 @@ It was made very easy with the help of the Golang [gopy](https://github.com/go-p
6
6
7
7
It has come about because it seems impossible to get away from memory leaks when you're dealing with UnixODBC and FreeTDS.
8
8
9
+ #### Versions
10
+
11
+ This version (0.2.4) is the last version to support Python 2; all versions after this have been subject to a refactor and support Python 3
12
+ only.
13
+
9
14
#### Limitations
10
15
11
16
* Python command needs to be prefixed with GODEBUG=cgocheck=0 (or have that in the environment)
@@ -19,15 +24,18 @@ It has come about because it seems impossible to get away from memory leaks when
19
24
* pkgconfig/pkg-config
20
25
21
26
#### Installation (for prod)
22
- * ``` python setup.py install ```
27
+
28
+ * ``` python setup.py install ```
23
29
24
30
#### Making a python wheel install file (for distribution)
25
- * ``` python setup.py bdist_wheel ```
31
+
32
+ * ``` python setup.py bdist_wheel ```
26
33
27
34
#### Setup (for dev)
35
+
28
36
Ensure pkg-config is installed
29
37
30
- * ``` mkvirtualenvwrapper -p (/path/to/pypy) gomssql-python ```
38
+ * ``` mkvirtualenvwrapper -p (/path/to/pypy) gomssql-python ```
31
39
* ``` pip install -r requirements-dev.txt ```
32
40
* ``` ./build.sh ```
33
41
* ``` GODEBUG=cgocheck=0 py.test -v ```
@@ -82,14 +90,14 @@ connection.close()
82
90
MOUNT_WORKSPACE=1 ./test.sh bash
83
91
./build.sh
84
92
py.test
85
-
93
+
86
94
## To test the sdist package
87
95
88
96
py.test
89
-
97
+
90
98
## To do some manual testing
91
99
92
100
./manual_test.sh
93
101
94
- This will spin up a Docker container that tries to connect to a specific database (internal to FTP Solutions); if the database is not
95
- there it'll simply fail (which is a good way to manually test for leaking memory).
102
+ This will spin up a Docker container that tries to connect to a specific database (internal to FTP Solutions); if the database is not there
103
+ it'll simply fail (which is a good way to manually test for leaking memory).
0 commit comments