Ver código fonte

Fixed setup.py

Stan Janssen 4 anos atrás
pai
commit
05c771e0ae
1 arquivos alterados com 3 adições e 2 exclusões
  1. 3 2
      setup.py

+ 3 - 2
setup.py

@@ -1,9 +1,10 @@
 from setuptools import setup
+import os
 
 with open("README.md", "r") as fh:
     long_description = fh.read()
 
-with open(os.path.join(os.path.abspath(__file__), 'VERSION')) as file:
+with open(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'VERSION')) as file:
     VERSION = file.read().strip()
 
 setup(name="pyopenadr",
@@ -14,4 +15,4 @@ setup(name="pyopenadr",
       url="https://git.finetuned.nl/stan/pyopenadr",
       packages=['pyopenadr', 'pyopenadr.service'],
       include_package_data=True,
-      install_requires=['xmltodict', 'aiohttp', 'apscheduler'])
+      install_requires=['xmltodict', 'aiohttp', 'apscheduler', 'jinja2'])