J. David Ibáñez
803b1cb154
cffi 1.10 not yet supported
2017-03-22 16:01:23 +01:00
Ondřej Nový
5dcc793aff
Make build reproducible
...
https://wiki.debian.org/ReproducibleBuilds
2016-06-07 22:33:46 +02:00
J. David Ibáñez
391a3a74e9
Merge remote-tracking branch 'thom/tox'
2016-02-28 17:22:58 +01:00
Thom Wiggers
cde5b5170b
Allow testing with tox
2016-02-28 12:53:35 +01:00
Thom Wiggers
735510f14d
Fix repository crash if path passed is not a str
...
Tries to decode any non-string objects (such as bytes)
Introduces `six` as a dependency
Closes #588
2016-02-28 12:32:51 +01:00
J. David Ibáñez
70edbf256a
Update copyright years
2015-10-11 18:48:59 +02:00
J. David Ibáñez
203335bd63
Trying to fix install with pip
2015-10-11 18:42:30 +02:00
J. David Ibáñez
681c7d4341
Fixing pip install pygit2
...
Regression in the latest release, "pip install pygit2" fails if cffi is
not already installed. Should be fixed with this change, not tested.
2015-09-27 14:03:32 +02:00
Nicolas Dandrimont
ec23762c09
Add support for cffi-pre-1.0
2015-09-09 23:20:08 +02:00
Michael Sondergaard
becc265c78
Don't use the deprecated cffi.verify by default
...
Instead this does what is recommend in the CFFI docs here: https://cffi.readthedocs.org/en/latest/cdef.html?highlight=verify#out-of-line-api
This also means building the cffi extension is neatly handled by cffi's setuptools integration itself, so we can delete the code in setup.py that used to do this.
2015-08-28 19:36:58 +02:00
J. David Ibáñez
b6f0bb0800
setup: minor cleanup
2014-11-11 13:03:25 +01:00
Philippe Ombredanne
6484ef1e37
Make the GPL exception explicit in setup.py
...
I think that is best to have that explicitly set there (and it should possibly be updated in Pypi too).
Thanks for this lib!
Cordially
Philippe
2014-11-11 12:05:08 +01:00
J. David Ibáñez
94f650a41d
Fix (again) the chicken-and-egg problem with cffi
...
Broken with previous commits :)
2014-10-30 17:59:38 +01:00
J. David Ibáñez
a9fa063de3
setup: remove old 'include' from include_dirs
2014-10-30 17:19:11 +01:00
J. David Ibáñez
93dd545069
Fix import error introduced in previous commit
2014-10-29 12:05:19 +01:00
J. David Ibáñez
e325c51203
Refactor code to get the path to libgit2
2014-10-28 16:31:53 +01:00
J. David Ibáñez
c997037c7b
Get ready for 0.21.3 release
2014-09-15 12:39:27 +02:00
Ron Cohen
acca2726df
BuildWithDLLs now inherits from CFFIBuild to *theoretically* fix windows.
2014-08-21 18:42:27 +02:00
Ron Cohen
a459712fde
Forgot the setup_requires
argument.
2014-08-21 16:00:40 +02:00
Ron Cohen
4056ebf53b
Fixed the chicked-and-egg problem with CFFI in setup.
...
This still needs some work in order to fix the problem
under windows. I have no windows machine here to test it.
2014-08-21 15:48:25 +02:00
Carlos Martín Nieto
f3bb8a4556
Fix installation-time cffi compilation
...
The documentation recommends adding the ffi code as an extension so it
gets built at the right time.
Make use of the LIBGIT2 environment variable to build and link the ffi
module the same way the C extension does so the user doesn't have to
export CFLAGS.
2014-04-16 22:12:52 +02:00
Carlos Martín Nieto
b4bc2b6295
Depend on the cffi package
...
Let both pip and Travis know what we need.
2014-04-16 22:12:24 +02:00
J. David Ibáñez
d51174d34f
Install the "decl.h" file
2014-04-16 22:12:24 +02:00
J. David Ibáñez
d7071b88cd
Update copyright year
2014-02-04 08:02:12 +01:00
Rémi Duraffort
470ad22b73
Fix typo in comments
2013-06-20 09:26:43 +02:00
J. David Ibáñez
74a1fdab60
Fixing coding style with the help of pep8 (wip)
2013-05-26 10:32:05 +02:00
Valentin Haenel
8d8416e083
pep8 fixes for setup.py
...
as reported by flake8
2013-03-08 22:02:34 +01:00
J. David Ibáñez
29ce23c0d5
Update copyright
2013-03-02 12:16:16 +01:00
J. David Ibáñez
a96d494747
Coding style
...
Including:
- Lines longer than 79 chars
- Spaces at the end of line
- Wrong indentation
- Comma not followed by an space
- C++ style comments: //
2013-03-02 11:40:42 +01:00
J. David Ibáñez
933e02ee5c
Cosmetic fix to setup.py
2013-02-19 10:53:41 +01:00
Christian Boos
bcf48321ee
setup: using u'...' breaks for Python 3.[0-2].
2013-02-18 21:03:19 +01:00
Christian Boos
c4fa231df3
setup: Emacs actually don't like UTF-8, prefers utf-8
2013-02-18 20:58:43 +01:00
Christian Boos
67f68d2234
Fix setup.py so that bdist_wininst works.
...
Leaving the maintainer's name as a string (as opposed to a unicode)
was triggering a UnicodeDecodeError when running bdist_wininst with
Python 2.7.3
2013-02-18 20:51:06 +01:00
J. David Ibáñez
5343d28ca5
Flat directory hierarchy: move src/pygit2/ to src/
2013-02-04 12:51:28 +01:00
W. Trevor King
0acb7df564
setup.py: Add LIBGIT2_LIB to override the library search path
...
I build libgit2 in a `build/` subdirectory of a Git checkout, and
never bother installing it. I'd like to link pygit2 against it there,
but LIBGIT2 assumes libgit2.so will be in the default library search
path or $LIBGIT/lib. This patch adds LIBGIT2_LIB, a new environment
variable for overriding the additional library search paths.
An alternative to this patch is to set LDFLAGS="-L..." explicitly
before building pygit2. I've avoided that approach here minimize the
difference between configuring this library path explicitly, and
configuring implicitly via LIBGIT2.
2012-12-13 08:18:36 -05:00
W. Trevor King
43a798bbdb
setup.py: decode README.rst to unicode.
...
Signed-off-by: W. Trevor King <wking@tremily.us>
2012-10-25 15:47:02 -04:00
W. Trevor King
f10d2b7b3f
pygit2:version: add 'pygit2.__version__' for easy access from client software.
...
Moved the hardcoded version from setup.py to pygit2/version.py so
client software can figure out which version of pygit2 it's using.
Having setup.py import pygit2.version.__version__ removes duplication,
and also means that setup.py will always use the local version (and
not the version of a previously installed pygit2).
2012-09-17 10:16:25 -04:00
J. David Ibáñez
0821e7bf00
Release v0.17.2
...
Now the MANIFEST file is automatically built from Git. This fixes the
source distribution.
2012-07-24 12:40:26 +02:00
J. David Ibáñez
06969ba874
Generate the MANIFEST file from git
2012-07-24 12:40:02 +02:00
J. David Ibáñez
a1716a3a92
Release v0.17.1
...
New features:
- Support for diffs
- Support for reflog
- Support for config files
- Add shortcut 'Repository.head'
Other changes:
- Improved support for Windows
- Improved documentation
- Refactoring: split the code into smaller files
- Refactoring: allow to add helper code written in Python
- Use Travis Continous-Integration service
http://travis-ci.org/#!/libgit2/pygit2
Thanks to András Veres-Szentkirályi, Christian Boos, Martin Lenders,
Nico von Geyso, Petr Hosek and pistacchio.
2012-07-18 12:24:09 +02:00
J. David Ibáñez
6195491596
Add/update copyright header of each file
...
And update my email address.
2012-07-18 12:07:17 +02:00
J. David Ibáñez
d27cf0b687
style: remove trailing white-spaces
2012-06-18 11:22:56 -03:00
Nico von Geyso
0ac20f2d9d
fixed typo in setup()
2012-05-25 14:43:15 +02:00
Nico von Geyso
ad4edf1b85
added pygit2.utils module
...
refactored package integration to be able to have pygit2.utils module
2012-05-25 14:23:25 +02:00
Nico von Geyso
6b1a281edc
refactoring pygit2.c into several small files
...
The whole extension was organised in one big 3727 lines monster.
This refactoring is splitting these 3727 lines into several smaller files.
2012-05-25 14:07:44 +02:00
J. David Ibáñez
6825bba8c0
Release v0.17.0
...
Changes:
- Update to libgit2 v0.17.0
- New method 'Repository.create_blob'
Thanks to Nico von Geyso.
2012-05-21 18:11:38 +02:00
J. David Ibáñez
2bbf62f50a
Release v0.16.2
...
Highlights:
- Fix serious memory bug
- Change signature of 'TreeBuilder.insert'
- Improve support of Windows
Thanks to Benjamin Kircher, Han-Wen Nienhuys and Yonggang Luo.
2012-05-03 14:05:51 +02:00
Yonggang Luo
ad39bd7b4d
use distutils.log instead of logging.
...
Pass args to unittest, so that we can running unittest in such way:
python setup.py test --args="test.test_tag.TagTest"
2012-04-07 14:04:11 +08:00
Yonggang Luo
823dc6ae3b
# -*- coding: UTF-8 -*-
...
# coding: UTF-8
This is necessary under win32.
2012-04-07 12:42:33 +08:00
Yonggang Luo
81e892b8d5
copy (lib)git2.dll alongside pygit2
...
add build_lib into sys path so that unittest can found (lib)git2.dll
2012-04-07 12:34:15 +08:00