summaryrefslogtreecommitdiff
path: root/setup.py
Commit message (Collapse)AuthorAgeFilesLines
* Avoid quoting the string in the psycopg version macroDaniele Varrazzo2018-02-191-4/+1
| | | | | | | Use a macro trick to add the quotes. This seems more portable than passing the quotes to the command line (see #658). https://gcc.gnu.org/onlinedocs/cpp/Stringizing.html
* Print info about the binary package on build failedDaniele Varrazzo2018-01-291-4/+42
| | | | | | | | The idea is to release a package 'psycopg2-binary' to allow installing binary, and leave the psycopg2 package to be source only, to avoid pushing the unreliability of the wheel pacakge by default (see issue #543). Version number bumped to test with new packages.
* Avoid installing tests to site-packagesJon Dufresne2017-12-101-2/+2
| | | | | | | | For library end users, there is no need to install tests alongside the package itself. This keeps the tests available for development without adding extra packages to user's site-packages directory. Reduces the size of the installed package. Avoids accidental execution of test code by an installed package.
* Fixed __libpq_version__ for Postgres >= 10.1Daniele Varrazzo2017-11-281-3/+5
| | | | | | | | | The version should be considered as 10.0.1; the number was generated as 10.1.0 instead. Version number bumped to test building new wheels packages. Fix #632.
* Drop support for EOL Python 3.0-3.3Hugo2017-11-281-4/+2
|
* Remove redundant hasattr checksHugo2017-11-281-2/+1
|
* Drop support for EOL Python 2.6Hugo2017-11-281-16/+4
|
* Merge branch 'solaris-support'Daniele Varrazzo2017-11-281-1/+1
|\
| * Emulate timeradd and timersub on SolarisMy Karlsson2017-10-261-1/+1
| | | | | | | | | | Solaris does not have timeradd and timersub. Add solaris_support.c which provides emulated versions of them on Solaris.
* | Moving to next major version on masterDaniele Varrazzo2017-11-281-1/+1
| | | | | | | | Opened maintenance branch `maint_2_7`
* | Add some missing trove classifiers for general Python supportJon Dufresne2017-11-271-0/+2
|/
* Bump to next development releaseDaniele Varrazzo2017-07-241-1/+1
|
* Bumped version number to 2.7.32_7_3Daniele Varrazzo2017-07-241-1/+1
|
* Bump to next development releaseDaniele Varrazzo2017-07-221-1/+1
|
* Bump to version 2.7.2Daniele Varrazzo2017-07-221-1/+1
|
* Bump version number to test a new buildDaniele Varrazzo2017-06-151-1/+1
|
* Remove VC9 runtime dependencyJason Erickson2017-06-081-1/+1
| | | | | | | | | | | Changed check in setup.py to only use vc9 manifest when built against versions that use the MSVC 2008 compiler. Resolves #541. Note that as of VS 2010, a manifest is no longer needed according to this comment, "...we are no longer deploying the VC dlls as Win32 assemblies. They are regular dlls that can be loaded without a manifest." https://connect.microsoft.com/VisualStudio/feedback/details/522121/crtassem-h-missing
* Find again mxDateTime includes in default locationsDaniele Varrazzo2017-03-221-1/+2
|
* Bump to next dev releaseDaniele Varrazzo2017-03-131-1/+1
|
* Bump to version 2.7.12_7_1Daniele Varrazzo2017-03-111-1/+1
|
* Bump away from 2.7Daniele Varrazzo2017-03-011-1/+1
| | | | [skip ci]
* Bump to version 2.7Daniele Varrazzo2017-02-281-2/+2
| | | | | | Refer to pep 440 for version numbering, which superseded pep 386. We are not changing numbering scheme: the version numbers we have used (when we have been consistent) would have been valid in both schemes.
* Bump version numberDaniele Varrazzo2017-02-161-1/+1
|
* Bumping to 2.7 beta 2Daniele Varrazzo2017-02-161-1/+1
|
* Fixed generation of download url from beta versionDaniele Varrazzo2017-02-081-1/+2
|
* Bump version numberDaniele Varrazzo2017-02-081-1/+1
|
* Bump version to 2.7 beta 12_7_BETA_1Daniele Varrazzo2017-02-081-1/+1
|
* Dropped support for Python 3.1Daniele Varrazzo2017-02-061-1/+0
|
* Fixed version regexp to match "10devel"Federico Di Gregorio2017-02-041-1/+3
| | | | | Also normalized the result and made sure that if PostgreSQL ever starts using just integer version numbers (as in "10") everything still works.
* Convert warnings into errors on testDaniele Varrazzo2017-02-031-1/+5
|
* Consider Python 3.6 and Postgres 9.6 supportedDaniele Varrazzo2017-01-031-0/+1
|
* Added empty options in setup.cfgDaniele Varrazzo2016-12-251-1/+6
| | | | Setuptools removes them from the sdist, see #453
* Python source cleanup using flake8Daniele Varrazzo2016-10-111-36/+39
|
* Dropped use of b() "macro" and 2to3 fixerDaniele Varrazzo2016-08-151-4/+0
| | | | Just use the b"" strings syntax supported from python 2.6.
* Stop compiling with Python 2.5Daniele Varrazzo2016-08-151-1/+0
|
* Merge branch 'master' into replication-protocolDaniele Varrazzo2016-08-071-2/+11
|\ | | | | | | | | Conflicts: tests/testconfig.py
| * Fixed build on win32Daniele Varrazzo2016-07-011-1/+2
| | | | | | | | Fix #422.
| * Start advertising Py 3.5 supportDaniele Varrazzo2016-03-101-0/+1
| |
| * Work around late initialization in distutils._msvccompiler.Christian Ullrich2016-03-101-0/+4
| |
| * Modify setup.py to support setuptools/wheelJason Erickson2016-03-101-1/+4
| | | | | | | | | | | | To support creation of whl files for PyPI, setuptools need to be imported instead of distutils. Created try/except case to fall back to integrated distutils if setuptools is not installed.
* | Move replication connection to C level.Oleksandr Shulgin2015-10-271-2/+6
| |
* | Properly subclass ReplicationCursor on C level.Oleksandr Shulgin2015-10-191-2/+2
| |
* | Merge branch 'master' into feature/replication-message-objectOleksandr Shulgin2015-06-301-1/+1
|\ \ | |/ | | | | | | Conflicts: lib/extensions.py
| * Dropped PG_VERSION_HEX constantDaniele Varrazzo2015-06-021-3/+0
| | | | | | | | At PostgreSQL 10.0 it would have become awkward.
| * Add libpq version discoveryOleksandr Shulgin2015-06-011-0/+3
| |
* | Add ReplicationMessage objectOleksandr Shulgin2015-06-051-0/+2
| |
* | Add libpq_support.c and win32_support.cOleksandr Shulgin2015-06-031-0/+2
|/ | | | | | Move libpq-specific code for streaming replication support into a separate file. Also provide gettimeofday() on Win32, implementation copied from Postgres core.
* Bump to next dev version number for the master branchDaniele Varrazzo2015-04-281-1/+1
|
* Version bumped for release 2.62_6Daniele Varrazzo2015-02-091-1/+1
|
* More portable way to establish Python 32/64 buildDaniele Varrazzo2015-02-081-1/+8
|