Comments (4)
A probably inelegant way around that is to copy setup.py from rdiff-backup/rdiff-backup/dist to rdiff-backup/rdiff-backup and then munge a couple of paths to files:
68c68
< ext_modules = [Extension("rdiff_backup.C", ["cmodule.c"]),
---
> ext_modules = [Extension("rdiff_backup.C", ["rdiff_backup/cmodule.c"]),
70c70
< ["_librsyncmodule.c"],
---
> ["rdiff_backup/_librsyncmodule.c"],
79c79
< ['CHANGELOG', 'COPYING', 'README', 'FAQ.html'])],
---
> ['CHANGELOG', 'COPYING', 'README'])],
That let me run python setup.py install --prefix=/usr/local successfully on an Ubuntu 16.04 box after cloning the current distribution.
from rdiff-backup.
For what I could understand, the script rdiff-backup/dist/makedist.py
shall be used to make an archive of the sources.
The command:
$ python dist/makedist.py 1.2.3
will generate the file rdiff-backup-1.2.3.tar.gz
. Such archive should allow installation by means of setup.py
.
from rdiff-backup.
If you have a look at PR#53 ./setup.py build
works flawlessly, I haven't looked yet at the packaging framework though, but I would argue that setup.py
doesn't need absolutely to work from a tarball. Hence we could close this issue once the branch is merged.
from rdiff-backup.
To confirm the project is buildable I've created a Dockerfile to containerize the build (and dependencies). Works well now, so closing this issue.
from rdiff-backup.
Related Issues (20)
- Warning SpecialFileError: [Errno 95] Operation not supported HOT 2
- Backup files not saved with original user HOT 2
- [ENH] make tox.ini only write to readable places with --current-env HOT 4
- [?] Is backup to a samba share supported? HOT 3
- [?] rdiff-backup doc and remote HOT 2
- [BUG] CVE-2023-49797 pyinstaller: unauthorized deletion of files HOT 2
- [ENH] allow flexible usage of better hashing algorithm than SHA1
- [BUG] rdiff-backup fails on too long filenames under Windows HOT 1
- What are the errors in statistics? HOT 4
- [ENH] populate no_compression_regexp with _something_ so it matches the documentation HOT 4
- [BUG] read-only commands should return 2 as warning if last back-up failed HOT 6
- [BUG] Removal of setup.py usage in debian/autobuild.sh regressed it HOT 2
- [BUG] crash on date beyond 2038 (last 32 bits date) HOT 3
- test action fails with empty error message when using API 201 HOT 1
- [ENH] Suppress output line-wrapping when using --parsable-output HOT 3
- [?] MacOS with Python Universal2, using pip to install rdiff-backup is working, but the resulting installation is broken HOT 2
- [ENH] Efficient restore to a populated destination HOT 7
- [BUG] Recurring Failure to "find the path specified: b'I:/'" HOT 2
- backup to a pCloud mounted drive[?] HOT 8
- problem [Errno 11] Resource temporarily unavailable, when running backup HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rdiff-backup.