Python snap for distance measurement

Hello All,
I am trying to create a python snap for distance measurement using HSR04 sensor.
I have downloaded the code from git hub https://github.com/Hoche96/HCSR04-RaspberryPi.git
The python program HCSR04Test.py is running fine.

Find below is my snapcraft.yaml file .
########
name: hcsr04
version: git
summary: hcsr04
description: |
This snap installs the ultrasonic sensor HCSR04 program to get the distance information of the object.

grade: devel
confinement: devmode

apps:
hcsr04:
command: python HCSR04Test.py
plugs:
- network
- home
- removable-media
- [gpio-memory-control]

parts:
hcsr04:
plugin: python
python-version: python2
python-packages: [RPi.GPIO]
source: .
#######
I am using classic environment for building snap.
Please review.

Thanks & Regards,
Ashish