GithubHelp home page GithubHelp logo

Comments (4)

jjdavis avatar jjdavis commented on June 11, 2024

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.

ardovm avatar ardovm commented on June 11, 2024

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.

ericzolf avatar ericzolf commented on June 11, 2024

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.

ottok avatar ottok commented on June 11, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.