Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

borg uses the attic libraries #24

Closed
anarcat opened this issue May 22, 2015 · 3 comments
Closed

borg uses the attic libraries #24

anarcat opened this issue May 22, 2015 · 3 comments

Comments

@anarcat
Copy link
Contributor

anarcat commented May 22, 2015

here's a funky one. because the attic directory hasn't been renamed, the egg file created by setup.py has the same module name as the borg file.

this means that when borg starts, it actually loads the attic code:

$ sudo ./setup.py install
$ borg
usage: borg [-h]
            {serve,init,check,change-passphrase,create,extract,delete,list,mount,info,prune,help}
            ...

Attic 0.13_23_ge9c27e8-py3.4-linux-x86_64.egg - Deduplicated Backups

there's still a lot of attic left in there, which makes it impossible to install borg and attic next to each other without messing around with virtualenv.

@ThomasWaldmann
Copy link
Member

yes, use a virtualenv. :)

I didn't rename the package dir yet before trying how good git can cope with that (I've a lot of unmerged code).

@ThomasWaldmann
Copy link
Member

I tried and git coped well. So the package dir is named "borg" now.

@anarcat
Copy link
Contributor Author

anarcat commented May 22, 2015

neat, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants