Browse Source

Add the first code to create a Rover instance

Currently, does nothing but create an instance of Rover.
Oz N Tiram 4 years ago
parent
commit
08ca49e4be
4 changed files with 10 additions and 0 deletions
  1. 1 0
      .gitignore
  2. 5 0
      setup.cfg
  3. 1 0
      src/rover/__init__.py
  4. 3 0
      src/rover/rover.py

+ 1 - 0
.gitignore

@@ -1,2 +1,3 @@
 *.sw[o,p]
 *.sw[o,p]
 **/__pycache__**
 **/__pycache__**
+**src/marsrover.egg-info/**

+ 5 - 0
setup.cfg

@@ -21,6 +21,11 @@ classifier =
 console_scripts =
 console_scripts =
     rover = rover:main
     rover = rover:main
 
 
+[files]
+packages_root = src
+packages =
+    rover
+
 [aliases]
 [aliases]
 test = pytest
 test = pytest
 
 

+ 1 - 0
src/rover/__init__.py

@@ -0,0 +1 @@
+from .rover import Rover

+ 3 - 0
src/rover/rover.py

@@ -0,0 +1,3 @@
+
+class Rover:
+    pass