Comments (3)
$ cat setup.py
from setuptools import setup
setup(
name='dduper',
description='Fastest block-level offline BTRFS deduplication tool',
long_description='dduper is a block-level offline (out-of-band) BTRFS dedupe tool. This works by fetching in-built checksum from BTRFS csum-tree, instead of reading file blocks and computing checksum. This hugely improves the performance.',
url='https://github.com/lakshmipathi/dduper',
author='Lakshmipathi.G',
author_email='[email protected]',
license='GPL',
version='0.04',
scripts=['dduper'],
data_files=[('/usr/sbin',['btrfs.static'])],
install_requires=['numpy','PTable'],
python_requires='>=3'
)
After uploading the files to test.pypi.org. Installing via pip show the files under home dir.
~/.local/bin/dduper
~/.local/lib/python3.8/site-packages/dduper-0.04.dist-info/*
~/.local/lib/python3.8/site-packages/usr/sbin/btrfs.static
Only one issue above, I'd like to see btrfs.static
installed on /usr/sbin/btrfs.static
not under ~/.local/lib/python3.8/site-packages/usr/sbin/btrfs.static
from dduper.
"Only one issue above, I'd like to see btrfs.static installed on /usr/sbin/btrfs.static not under ~/.local/lib/python3.8/site-
packages/usr/sbin/btrfs.static"
That is most likely related to how you install the package rather than how you publish it. IOW, unless you are installing system-wide from the root account nothing will end up under /usr/sbin.
from dduper.
You could consider natively interfacing with btrfs-progs
code and ship the entire thing as a native Python module, here's a project of mine for example
from dduper.
Related Issues (20)
- Btrfs-progs patch issue - Hunk #1 FAILED at 158. HOT 5
- Assertion error HOT 12
- finding duplicate by providing a single file (not by directory) HOT 6
- Segmentation fault in btrfs.static causes AssertionError HOT 6
- insane fast is not very fast at all HOT 14
- Documentation of the --perfect_match_only HOT 2
- dump-csum patch doesn't work with btrfs-progs 5.12 HOT 2
- TypeError HOT 2
- Failed to build pysqlite3
- Use builtin btrfs-progs 5.13 dump commands. HOT 3
- Permission denied error? HOT 3
- Can't use chunk sizes less than 128k HOT 2
- Should this be using indexes?
- Make a fallback method to calculate the checksum
- dedupe fedora silverblue results in AssertionError
- btrfs-progs 5.16.2 will not build with patch HOT 2
- UnicodeEncodeError HOT 1
- AssertionError on very small dir HOT 1
- --analyze vs dry run HOT 1
- Fix gitlab CI pipeline kernel build HOT 1
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 dduper.