Skip to content

Python namespace-isation #49

Open
Open

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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