Git Product home page Git Product logo

Comments (3)

Lakshmipathi avatar Lakshmipathi commented on June 1, 2024
$ 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.

leggewie avatar leggewie commented on June 1, 2024

"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.

Thesola10 avatar Thesola10 commented on June 1, 2024

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)

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.