moloch-- / sliver-py

A Python gRPC Client Library for Sliver
GNU General Public License v3.0
62 stars 13 forks source link

Migrate development environment to hatch #14

Closed daddycocoaman closed 1 year ago

daddycocoaman commented 1 year ago

Addresses #12 .

Allows for an easier development environment across operating systems. No changes to the library have been made with the exception of including __init__.py in the src/sliver/pb folders to eliminate the need for multiple package statements in the configuration files but this doesn't affect the functionality of the library.

Additionally, the protobuf.sh was modified to allow different OS versions of sed to work.

Also, since Python 3.7 is reaching EOL in less than year and we also want to support multiple Python versions, it might be better to develop in a minimum 3.8 environment. The Dockerfile was changed to reflect that since python:latest points to 3.11. Future test setup will work in matrix so it could be changed back then but we probably want to make sure that newer Python syntax in 3.9+ isn't used yet.