setup.py 1.4 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. with open('README.md', 'r') as fh:
  14. long_description = fh.read()
  15. setup(name='openleadr',
  16. version='0.5.16',
  17. description='Python3 library for building OpenADR Clients (VENs) and Servers (VTNs)',
  18. long_description=long_description,
  19. long_description_content_type='text/markdown',
  20. url='https://openleadr.org',
  21. project_urls={'GitHub': 'https://github.com/openleadr/openleadr-python',
  22. 'Documentation': 'https://openleadr.org/docs'},
  23. packages=['openleadr', 'openleadr.service'],
  24. python_requires='>=3.7.0',
  25. include_package_data=True,
  26. install_requires=['xmltodict', 'aiohttp', 'apscheduler', 'jinja2', 'signxml-openadr==2.9.1'],
  27. entry_points={'console_scripts': ['fingerprint = openleadr.fingerprint:show_fingerprint']})