1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-29 11:16:43 +00:00
Commit graph

25 commits

Author SHA1 Message Date
Samuel
fa331c3e3b
Change references of Travis to GitHub Actions (#5536)
s/travis/github actions/g, fixes #5528
2020-12-03 20:10:53 +01:00
Thomas Waldmann
403dabd8f6 MANIFEST.in: add syncfilerange.c, reformat 2020-04-21 23:11:03 +02:00
Jürg Rast
6b426d08d7 Initial work to build and run borg under windows
- Created a batch file to build borg on windows
- Adjusted setup.py to be runnable on windows and build the windows
extension
- Extracted the free space check to a function in the platform module
- Created the minimal needed (dummy) functions for the windows platform
module
2019-08-24 10:17:18 +02:00
Thomas Waldmann
c2b0c7c483 include .coveragerc, needed by tox.ini
I noticed that archlinux has an identical coveragerc and wondered why.

Then noticed that our tox.ini (which we bundle into the pypi package)
needs .coveragerc, but we did not bundle it until now.

(cherry picked from commit c79156caf5)
2018-05-18 17:52:32 +02:00
Nic Donaldson
83c8734d70 Update setup.py to use a newer Cython/setuptools API for compiling .pyx -> .c (#3788)
update build process to use newer Cython/setuptools APIs

Cython.Distutils.build_ext has been deprecated, and the recommended replacement
is Cython.Build.cythonize.

setuptools.Extension will convert the file extension .pyx -> .c so there's no
need to duplicate the functionality. This allows the removal of the special
Sdist logic when cython is available.

cythonize will compile .pyx -> .c, but the resulting Extension's files won't be
included in sdist unless the Extension is in ext_modules. We don't want the
platform extensions in ext_modules though because that will break compilation,
so the platform .c files were added to the manifest.

- removed some unnecessary distutils imports and moved some imports for better
  visibility

- stop cythonize from running in some common use cases like 'clean'
2018-04-28 18:06:10 +02:00
Thomas Waldmann
feb428b4e0 clean up and simplify packaging
1.1.2 was released with a sdist that included quite some files that
did not belong into the package (I tried nuitka at some time).

This was because the old MANIFEST.in / setup.py included all the stuff
in the package dir.

Now, setuptools_scm is to automatically deal with the INCLUDES and
MANIFEST.in only handles the EXCLUDES, so only committed files get
into the sdist (minus some we do not want).

Also, no .c .h .pyx files will be installed - they are not needed as
they have been compiled into binary files.
2017-11-25 13:48:46 +01:00
Thomas Waldmann
8cd451bd33 python 3.5+ does not generate .pyo any more 2017-07-29 21:13:57 +02:00
Thomas Waldmann
0aac3a129d MANIFEST.in: exclude .coafile (coala) 2017-06-18 14:45:04 +02:00
Thomas Waldmann
c0dc644ef6 Merge branch '1.0-maint' into merge-1.0-maint
# Conflicts:
#	MANIFEST.in
#	Vagrantfile
#	docs/changes.rst
#	docs/usage/mount.rst.inc
#	src/borg/archiver.py
#	src/borg/fuse.py
#	src/borg/repository.py
2017-01-29 05:49:53 +01:00
Thomas Waldmann
ddd9d77e5d Manifest.in: simplify, exclude *.{so,dll,orig}, fixes #2066 2017-01-21 05:41:58 +01:00
Thomas Waldmann
d67cc229f6 MANIFEST: exclude *.so 2017-01-15 19:23:07 +01:00
Thomas Waldmann
740312f725 Merge branch '1.0-maint' into merge-1.0-maint
# Conflicts:
#	requirements.d/development.txt
#	tox.ini
2017-01-15 01:15:04 +01:00
Thomas Waldmann
b4bb21bf6e remove .github from pypi package, fixes #2051 2017-01-14 23:02:52 +01:00
Thomas Waldmann
76839362e2 fix packaging/git/coverage for src/ path 2016-05-05 21:42:37 +02:00
Thomas Waldmann
507d90f476 MANIFEST.in: add some more excludes 2015-09-19 22:17:46 +02:00
Thomas Waldmann
d4de0fd019 remove remainders of versioneer, typo fix. 2015-09-19 21:44:40 +02:00
Thomas Waldmann
7e21d95ded fix CHANGES.rst filename in MANIFEST.in 2015-08-06 16:40:38 +02:00
Thomas Waldmann
c7da105fd0 add AUTHORS to MANIFEST.in, so it gets included in releases 2015-06-11 23:04:31 +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
673fda39c1 upgrade versioneer to 0.14, makes PEP440 compliant version numbers now 2015-05-14 01:25:18 +02:00
Jonas Borgström
df6324b725 Include missing pyx files in dist file.
Closes #168
2015-01-04 22:25:11 +01:00
Jonas Borgström
3b4875cf2e Start using versioneer for version numbers 2013-08-05 23:05:15 +02:00
Jonas Borgström
781a9552f0 Remove nature.css and make sure docs folder is included by sdist 2013-08-05 22:43:50 +02:00
Jonas Borgström
a9272ce913 Update documentation 2013-07-08 21:19:50 +02:00
Jonas Borgström
1cb5cff7aa Add MANIFEST.in 2013-07-05 12:33:38 +02:00