1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-27 18:28:42 +00:00
Commit graph

184 commits

Author SHA1 Message Date
Thomas Waldmann
8eaf460da3 setup.py: fix bug related to BORG_LZ4_PREFIX processing 2015-10-11 21:20:29 +02:00
Antoine Beaupré
da2ec7995f fix homepage URL in all remaining places
we update the documentation to mention the automatic updates, and also
remove the hack in the makefile to update the github.io pages, which
are gone.
2015-10-09 15:54:04 -04:00
Antoine Beaupré
2f9bdfe96b fix API generation
properly generate the module name
2015-10-09 14:29:16 -04:00
Antoine Beaupré
ff04a654ab remove trailing quote 2015-10-09 14:25:29 -04:00
Antoine Beaupré
1c61f87da3 remove debugging code and fix all have_cython calls 2015-10-08 17:20:52 -04:00
Antoine Beaupré
d68451574b more debug 2015-10-08 17:14:25 -04:00
Antoine Beaupré
d6109b676c re-enable cython as late as possible 2015-10-08 17:09:33 -04:00
Antoine Beaupré
2f803b6489 fix typo, split sentence 2015-10-08 15:31:46 -04:00
Antoine Beaupré
2e9bd5a883 cosmetic: s/api/doc/ 2015-10-08 14:57:32 -04:00
Antoine Beaupré
6c5a7733a2 force build-ext build
it seems that what worked in the debug branch is not working in the
main branch, even though the commit IDs are exactly the same. the RTD environment doesn't seem really reliable...

besides, we want to build extensions before the rest, so should run it
first, in order to have msgpack loaded.
2015-10-08 10:37:56 -04:00
Antoine Beaupré
86487d192a use build_py to fix build on RTD
it seems that our subcommands are ignored over there, for some mysterious reason.
2015-10-08 10:26:02 -04:00
Antoine Beaupré
824f9c72a2 cosmetic: s/cmdfile/doc/ 2015-10-08 08:56:06 -04:00
Antoine Beaupré
6f9e04bc21 generalise the cython check hack
instead of applying this only to usage generation, use it as a generic
mechanism to disable loading of Cython code.

it may be incomplete: there may be other places where Cython code is
loaded that is not checked, but that is sufficient to build the usage
docs. the environment variable used is documented as such in the
docs/usage.rst.

we also move the check to a helper function and document it
better. this has the unfortunate side effect of moving includes
around, but I can't think of a better way.
2015-10-08 08:56:02 -04:00
Antoine Beaupré
7ccf6b32a6 simplify RTD env check 2015-10-08 08:23:37 -04:00
Antoine Beaupré
8190e33a64 faster and cleaner rtd check for cython 2015-10-08 08:22:52 -04:00
Antoine Beaupré
45d9c6b3b7 fix formatting 2015-10-08 08:21:52 -04:00
Antoine Beaupré
c93d975d3f remove debugging code 2015-10-08 08:20:59 -04:00
Antoine Beaupré
9cbc868764 make tests and build work again in usage using environment
this is such a crude hack it is totally embarrassing....

the proper solution would probably be to move the `build_parser()`
function out of `Archiver` completely, but this is such an undertaking
that i doubt it is worth doing since we're looking at switching to
click anyways.

the main problem in moving build_parser() out is that it references
`self` all the time, so it *needs* an archiver context that it can
reuse. we could make the function static and pass self in there by
hand, but it seems like almost a worse hack... and besides, we would
need to load the archiver in order to do that, which would break usage
all over again...
2015-10-07 22:26:59 -04:00
Antoine Beaupré
13d3568548 move usage generation to setup.py
this is an unfortunate rewrite of the manpage creation code mentionned
in #208. ideally, this would be rewritten into a class that can
generate both man pages and .rst files.
2015-10-07 21:07:15 -04:00
Antoine Beaupré
4787424a66 move API generation to setup.py 2015-10-07 19:58:24 -04:00
Antoine Beaupré
28cbc6cbd1 fix build on RTFD
first off, this required ticking the `Install your project inside a
virtualenv using setup.py install` box in the advanced config.

then, i had to disable all the C extensions build and disable some
checks, based on whether we are running on RTD or not.

still missing: usage builds and possibly other stuff that is in our
Makefile and not in setup.py.
2015-10-07 19:29:27 -04:00
Thomas Waldmann
d4de0fd019 remove remainders of versioneer, typo fix. 2015-09-19 21:44:40 +02:00
Thomas Waldmann
f138d06dd5 more platform support, works on py 3.5
xattrs and ACLs on OpenBSD and NetBSD need development or adaptation of
the platform-specific code.
2015-09-16 11:44:53 +02:00
Thomas Waldmann
5eb04969f8 setup.py: add the place where we link the lz4 header/lib on the darwin vagrant VM 2015-09-13 18:03:43 +02:00
Thomas Waldmann
2b311846e0 add a argparse.py (from py 3.2.6) that is not broken
also: remove previois attempt to fix this, installing pypi argparse into virtualenv does not work.
2015-09-13 00:58:57 +02:00
Thomas Waldmann
6c619000e3 pull fixed argparse from pypi in case we have a buggy python
see argparse 1.4.0 changelog for details
2015-09-12 22:44:23 +02:00
Thomas Waldmann
cff7dffc95 detect lz4.h header file location
use similar code as for openssl headers
2015-09-12 19:38:38 +02:00
Ronny Pfannschmidt
8b6ca0d912 propperly handle borg._version using setuptools_scm 2015-08-22 15:54:40 +02:00
Ronny Pfannschmidt
c7023ed12a replace versioneer with setuptools_scm 2015-08-22 14:58:06 +02:00
Thomas Waldmann
27de1b0a43 add a wrapper around liblz4 2015-08-01 15:07:54 +02:00
Ronny Pfannschmidt
922a1f6bb7 never fall back to distutils, any sane install method uses setuptools 2015-07-12 15:07:24 +02:00
Ronny Pfannschmidt
45e89add52 switch to entrypoints 2015-07-12 15:00:47 +02:00
Thomas Waldmann
0580f2b4eb style and cosmetic fixes, no semantic changes
use simpler super() syntax of python 3.x

remove fixed errors/warnings' codes from setup.cfg flake8 configuration

fix file exclusion list for flake8
2015-07-11 18:31:49 +02:00
Thomas Waldmann
0ad2ab2496 a bit too much glob there in setup.py, removed 2015-05-22 22:55:35 +02:00
Thomas Waldmann
5e98400a5a fix all references to package name
use relative imports if possible
reorder imports (1. stdlib 2. dependencies 3. borg 4. borg.testsuite)
2015-05-22 19:21:41 +02:00
Thomas Waldmann
7fee5dbbbf add python version classifiers 2015-05-14 12:04:38 +02:00
Thomas Waldmann
5f4e928eff add FreeBSD to platforms list in setup.py
it already was present in the classifiers.
2015-05-14 11:44:58 +02:00
Thomas Waldmann
673fda39c1 upgrade versioneer to 0.14, makes PEP440 compliant version numbers now 2015-05-14 01:25:18 +02:00
Thomas Waldmann
cb5c9b63b3 fork: s/attic/borg/g, fix URLs, add new section to AUTHORS
use borg instead attic except at the places where it was used:
- as toplevel package name, directory name, file name
- to refer to original attic

remove sphinx upload make command, will be replaced by github.io site later

remove references to binary downloads and linux packages for now

remove some software name references, fix grammar

use borgbackup rather than borg-backup (or borg) in URLs,
less name collision issues, better search results, no validity issues with "-"
2015-05-13 15:02:33 +02:00
Thomas Waldmann
354b3d34e3 Merge branch 'master' into merge 2015-04-21 21:02:42 +02:00
Thomas Waldmann
80dad2df61 use sys.platform everywhere, fixes #188
os.uname is UNIX-only, sys.platform is portable.

note:
- this doesn't implicate attic will now work on windows.
- windows is untested / unsupported and there might be a lot of other issues left.
- attic's xattr module already used sys.platform, so this is better for internal consistency also.
2015-04-19 23:54:44 +02:00
Thomas Waldmann
b7cefacb69 Merge branch 'python_cleanup' into merge
Conflicts:
	attic/archiver.py
	attic/remote.py
2015-03-18 00:23:41 +01:00
Thomas Waldmann
4ef6125f45 cleanup pep8 issues found by pycharm 2015-03-17 23:47:21 +01:00
Thomas Waldmann
4c7d0762a9 as msgpack-python 0.4.6 is released now, just use that. 2015-03-12 20:06:53 +01:00
Thomas Waldmann
a67d4219c3 avoid defect python-msgpack releases, fixes #171, fixes #185 2015-03-09 23:35:56 +01:00
Jonas Borgström
0741aef880 Add MacPorts' path to the default openssl search path
Closes #101
2014-08-01 14:48:49 +02:00
Jonas Borgström
47c6141aab Experimental OS X ACL support (#66) 2014-05-03 15:10:11 +02:00
Jonas Borgström
8c25d02481 Experimental FreeBSD ACL support (nfs4 and posix) (#66) 2014-04-27 14:17:52 +02:00
Jonas Borgström
14808b77cb Fix Python3.2 compatibility 2014-04-13 20:34:32 +02:00
Jonas Borgström
0ad5253d84 Experimental Linux ACL support (#66) 2014-04-13 20:26:46 +02:00
Jonas Borgström
0e39acffd3 crypto: convert attic.crypto into a cython module
This will give a slight performance boost and make the openssl
detection/linking more robust.
2014-03-10 22:50:38 +01:00
Jonas Borgström
10ef7fe0f2 Move website to attic-backup.org 2014-03-09 15:12:07 +01:00
Jonas Borgström
3b4875cf2e Start using versioneer for version numbers 2013-08-05 23:05:15 +02:00
Jonas Borgström
f230a96c40 Update homepage url and make version number pep440 compliant 2013-08-04 13:43:35 +02:00
Jonas Borgström
2be5867c5f Ported to FreeBSD 2013-07-28 14:56:13 +02:00
Jonas Borgström
b718a443a8 Project rename 2013-07-09 20:14:18 +02:00
Jonas Borgström
f827b99ffe Improved documentation. 2013-07-05 12:32:56 +02:00
Jonas Borgström
cda6d4ed6c Minor setup.py fix 2013-06-27 23:03:48 +02:00
Jonas Borgström
bf4b13d9dc More xattr code cleanup 2013-06-27 22:10:15 +02:00
Jonas Borgström
263b7f6fdd Switch to our own xattr implementation 2013-06-27 13:28:59 +02:00
Jonas Borgström
06db9e897c Various sphinx related fixes 2013-06-25 12:39:22 +02:00
Jonas Borgström
9421b64895 Test case refactoring 2013-06-25 12:05:58 +02:00
Jonas Borgström
8a2f555c68 Packaging improvements 2013-06-24 13:53:02 +02:00
Jonas Borgström
eec876e8dc Fix setup.py issue when Cython is not available 2013-06-18 21:34:22 +02:00
Jonas Borgström
1fdc5eabc6 Port to Python 3.2+ 2013-06-18 13:39:46 +02:00
Jonas Borgström
3e5433855c Use Cython for all native code 2013-05-31 14:08:02 +02:00
Jonas Borgström
da3e7a7470 setup.py: switch from setuptools to pure distutils 2012-02-29 23:30:24 +01:00
Jonas Borgström
1d525b4dc5 Bumped version number 2011-11-06 21:40:29 +01:00
Jonas Borgström
6ffa7e851c Fix setuptools Cython issue 2011-11-05 21:13:15 +01:00
Jonas Borgström
52c02ceda3 Include Cython output in sdist 2011-08-20 18:11:23 +02:00
Jonas Borgström
885823fdbd Added a few missing dependencies 2011-06-23 22:49:16 +02:00
Jonas Borgström
af614665ca New hashindex implementation. 2010-12-16 20:23:22 +01:00
Jonas Borgström
e71b70909c Added numpy dependency 2010-12-04 21:07:02 +01:00
Jonas Borgström
20935f809e Experimental remote store support 2010-11-16 22:30:27 +01:00
Jonas Borgström
cc9e81c754 Removed trailing comma 2010-11-09 20:29:29 +01:00
Jonas Borgström
1a1d8f87eb Added xattr dependency 2010-10-31 20:33:55 +01:00
Jonas Borgström
ae7b0eaf6d Added argparse as a dependency 2010-10-30 13:24:23 +02:00
Jonas Borgström
8cdca7aed4 Renamed dedupestore to darc 2010-10-27 20:12:40 +02:00
Jonas Borgström
a1bbe57460 Fix corner case bug in chunify() 2010-10-19 19:07:35 +02:00
Jonas Borgström
4bbd093a56 Added dedupestore "console script" 2010-10-15 20:46:17 +02:00
Jonas Borgström
357cad4d5d Nothing much. 2010-04-18 22:08:12 +02:00
Jonas Borgström
61cbaf8642 Implemented checksum() in _speedups.c 2010-03-01 23:39:14 +01:00
Jonas Borgström
8416de6219 Rename. 2010-03-01 22:04:43 +01:00
Jonas Borgström
aebf3cc6b1 Some ext experimentation. 2010-02-28 20:22:45 +01:00