Skip to content

Python namespace-isation #49

@zougloub

Description

@zougloub

This relates to #5 ; small modifications to the python code would be interesting to make the code more usable and "zen":

  • Settle on a name for a package and expected installation layout
  • Add init.py in python folders and perform local imports in the code; rename test files
  • Add python packaging files

Before:

sys.path.append(some_path) # weird installation

import usb_something

After:

from wjasper.Linux_Drivers.USB.usb_something import usb_Something

I did see a fork that attempted to do something for the bluetooth drivers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions