setup.py 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # coding: utf-8
  2. #
  3. # Copyright 2022 Google LLC All Rights Reserved.
  4. #
  5. # Licensed under the Apache License, Version 2.0 (the "License");
  6. # you may not use this file except in compliance with the License.
  7. # You may obtain a copy of the License at
  8. #
  9. # http://www.apache.org/licenses/LICENSE-2.0
  10. #
  11. # Unless required by applicable law or agreed to in writing, software
  12. # distributed under the License is distributed on an "AS IS" BASIS,
  13. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. # See the License for the specific language governing permissions and
  15. # limitations under the License.
  16. #
  17. # See AUTHORS.txt for the list of Authors and LICENSE.txt for the License.
  18. from setuptools import setup
  19. # Read the contents of the README file
  20. with open('README.md') as f:
  21. long_description = f.read()
  22. setup(
  23. name="axisregistry",
  24. use_scm_version={"write_to": "Lib/axisregistry/_version.py"},
  25. url='https://github.com/googlefonts/axisregistry/',
  26. description='A python API to access data from the Google Fonts variable fonts axis registry.',
  27. long_description=long_description,
  28. long_description_content_type='text/markdown', # This is important!
  29. author=('Felipe Sanches'),
  30. author_email='juca@members.fsf.org',
  31. package_dir={'': 'Lib'},
  32. packages=['axisregistry'],
  33. package_data={'axisregistry': [
  34. "data/*.textproto"
  35. ]
  36. },
  37. zip_safe=False,
  38. classifiers=[
  39. 'Intended Audience :: Developers',
  40. 'Topic :: Text Processing :: Fonts',
  41. 'License :: OSI Approved :: Apache Software License',
  42. 'Operating System :: OS Independent',
  43. 'Programming Language :: Python :: 3'
  44. ],
  45. python_requires=">=3.7",
  46. setup_requires=['setuptools_scm>=4,<6.1'],
  47. install_requires=[
  48. 'protobuf'
  49. ]
  50. )