setup.py 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. # SPDX-License-Identifier: Apache-2.0
  2. # Copyright 2020 Contributors to OpenLEADR
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. # http://www.apache.org/licenses/LICENSE-2.0
  7. # Unless required by applicable law or agreed to in writing, software
  8. # distributed under the License is distributed on an "AS IS" BASIS,
  9. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. # See the License for the specific language governing permissions and
  11. # limitations under the License.
  12. from setuptools import setup
  13. import os
  14. with open("README.md", "r") as fh:
  15. long_description = fh.read()
  16. with open(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'VERSION')) as file:
  17. VERSION = file.read().strip()
  18. setup(name="pyopenadr",
  19. version=VERSION,
  20. description="Python library for dealing with OpenADR",
  21. long_description=long_description,
  22. long_description_content_type="text/markdown",
  23. url="https://finetuned.nl/pyopenadr",
  24. packages=['pyopenadr', 'pyopenadr.service'],
  25. include_package_data=True,
  26. install_requires=['xmltodict', 'aiohttp', 'apscheduler', 'jinja2', 'signxml-openadr>2.8.0'])