Commit Graph

79 Commits

Author SHA1 Message Date
Davis King 5d377ceb6d Added a overview comment at the top of the file. 2015-10-27 08:22:33 -04:00
Davis King 99a91ce680 The last commit didn't really fix the bug. This one seems to do a better job :) 2015-09-28 22:40:02 -04:00
Davis King b51b2857f3 Fixed a bug in setup.py that caused it to not print all cmake's outputs to the
screen.  In particular, that caused cmake's error messsages to be truncated if
the build failed.
2015-09-28 22:14:32 -04:00
Davis King e16b0f8d21 Minor tweaks to make PyPi happy. 2015-09-27 11:59:58 -04:00
Davis King ed64455109 Fixed error in setup.py 2015-09-26 22:48:31 -04:00
Davis King f02f06355b Removed the old version keeping files in the docs folder now that the
dlib/CMakeLists.txt file is keeping the version numbers.  Also changed all
relevant scripts to grab the version information from CMakeLists.txt.
2015-09-26 22:24:51 -04:00
Ehsan Azarnasab 5c06db0e35 add python 3 as supported in the classifiers 2015-08-27 19:07:28 -07:00
Ehsan Azarnasab 2fee9b3915 use newest visual studio as generator if multiple installed 2015-08-27 08:22:09 -07:00
Ehsan Azarnasab 61ec7aa862 if no cmake generator is set use same logic as cmake to find default buid generator but use Win64 if the build is for 64bit Python 2015-08-26 20:03:49 -07:00
Ehsan Azarnasab cdce208ef1 cannot automatically select Win64 toolchain on Windows by setting simple flags 2015-08-26 17:15:40 -07:00
Ehsan Azarnasab 6e2ed37f76 find 64bit Python libraries on 64bit Windows when cmake is 32bit 2015-08-26 14:53:13 -07:00
Ehsan Azarnasab 1c6ba8a1b1 fix argument parsing, also there is no trim, should have used strip. 2015-08-24 09:11:55 -07:00
Ehsan Azarnasab e469105178 use Python's architecture to give cmake a clue to generate the right config 2015-08-23 10:53:13 -07:00
Ehsan Azarnasab 8e2ec4cc6a option to pass build system generator to cmake 2015-08-23 10:02:20 -07:00
Ehsan Azarnasab 2f7958e4f9 decode process output as latin-1 for Python3 to also work 2015-08-22 12:59:42 -07:00
Ehsan Azarnasab fd75d43efb simplify logic 2015-08-21 13:56:34 -07:00
Ehsan Azarnasab d1bafb5ae0 simplify passing cmake yes and no options. 2015-08-21 13:54:49 -07:00
Ehsan Azarnasab 34e73a6b6d make sure only relevant platform artifacts are packaged.
avoid foreign artifacts potentially left over from VM builts.
2015-08-21 11:31:16 -07:00
Ehsan Azarnasab acf61103b6 set sid only on posix 2015-08-20 20:01:54 -07:00
Ehsan Azarnasab 08fb925b34 always clean up dist folder to have a clean sdist and clean builds 2015-08-20 18:03:18 -07:00
Ehsan Azarnasab 2272be1f29 fix argument parsing for cmake option 2015-08-20 14:52:42 -07:00
Ehsan Azarnasab eccfd6e57b fix argument parsing for cmake option 2015-08-20 14:51:21 -07:00
Ehsan Azarnasab 78203d3607 fix copy-pasted template 2015-08-20 14:42:13 -07:00
Ehsan Azarnasab 25f0ab83cb only check cmake existence if building in required 2015-08-20 14:33:45 -07:00
Ehsan Azarnasab 93818fd7e4 only change option key and not its value, which could be case sensitive.
make sure --cmake can be used to pass any cmake not in the path.
2015-08-20 14:28:06 -07:00
Ehsan Azarnasab 9e4fe65c47 add __version__ and import extension to the package 2015-08-20 12:21:27 -07:00
Ehsan Azarnasab 26b9de7006 add classifiers to setup.py 2015-08-20 10:51:07 -07:00
Ehsan Azarnasab 69ff6a3fff make sure sdist includes all necessary packages and no build directories 2015-08-20 10:29:13 -07:00
Ehsan Azarnasab ae5c624272 move setup.py 2 levels up to avoid the need to git submodules to link to source 2015-08-20 09:42:44 -07:00