Make vultron.api import-able by the driver
This commit is contained in:
parent
e6ef28b5af
commit
cf1d6147c1
|
@ -3,7 +3,9 @@ name = vultron
|
||||||
version = 0.1.0
|
version = 0.1.0
|
||||||
|
|
||||||
[options]
|
[options]
|
||||||
packages = vultron
|
packages =
|
||||||
|
vultron
|
||||||
|
vultron.api
|
||||||
|
|
||||||
[options.entry_points]
|
[options.entry_points]
|
||||||
console_scripts =
|
console_scripts =
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
class VultrApi:
|
class Client:
|
||||||
def init(**kwargs):
|
def init(**kwargs):
|
||||||
print(kwargs)
|
print(kwargs)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
from vultron.api import VultrApi
|
import vultron.api
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
api = VultrApi()
|
api = vultron.api.Client()
|
||||||
print("Hello, world!")
|
print("Hello, world!")
|
||||||
|
|
Loading…
Reference in New Issue