Skip to content

Commit 2adcbf2

Browse files
authored
Merge pull request #18 from LukaszMoskala/develop
Add FreeBSD support
2 parents 918d159 + e7c358b commit 2adcbf2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Changelog
99
1010
version 0.3.0-dev
1111
-----------------
12+
+ Enabled installation on BSD
1213
+ Update embedded zlib-ng version to 2.1.2. This comes with some speed
1314
improvements and changes with regards to the compression levels. For full
1415
details checkout the `zlib-ng 2.1.2 release notes
@@ -25,4 +26,4 @@ version 0.1.0
2526
+ Add a fully featured gzip application in python m zlib_ng.gzip_ng.
2627
+ Port Cpython's gzip module to use zlib-ng.
2728
+ Port CPython's zlib module to use zlib-ng.
28-
+ Use zlib-ng version 2.0.6 as included statically linked version.
29+
+ Use zlib-ng version 2.0.6 as included statically linked version.

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
ZLIB_NG_SOURCE = os.path.join("src", "zlib_ng", "zlib-ng")
2020

2121
SYSTEM_IS_UNIX = (sys.platform.startswith("linux") or
22-
sys.platform.startswith("darwin"))
22+
sys.platform.startswith("darwin") or
23+
'bsd' in sys.platform)
2324
SYSTEM_IS_WINDOWS = sys.platform.startswith("win")
2425

2526
# Since pip builds in a temp directory by default, setting a fixed file in

0 commit comments

Comments
 (0)