Debian Codegraph @

setup.py

raw symbols SCIP
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
20 # Read the contents of the README file
21 with open("README.md") as f:
22 long_description = f.read()
23
24 setup(
25 name="axisregistry",
26 use_scm_version={"write_to": "Lib/axisregistry/_version.py"},
27 url="https://github.com/googlefonts/axisregistry/",
28 description="A python API to access data from the Google Fonts variable fonts axis registry.",
29 long_description=long_description,
30 long_description_content_type="text/markdown", # This is important!
31 author=("Felipe Sanches"),
32 author_email="[email protected]",
33 package_dir={"": "Lib"},
34 packages=["axisregistry"],
35 package_data={"axisregistry": ["data/*.textproto"]},
36 zip_safe=False,
37 classifiers=[
38 "Intended Audience :: Developers",
39 "Topic :: Text Processing :: Fonts",
40 "License :: OSI Approved :: Apache Software License",
41 "Operating System :: OS Independent",
42 "Programming Language :: Python :: 3",
43 ],
44 python_requires=">=3.7",
45 setup_requires=[
46 "setuptools>=61.2",
47 "setuptools_scm[toml]>=6.2",
48 ],
49 install_requires=[
50 "protobuf>=3.19.4, <4",
51 "fonttools",
52 "importlib_resources ; python_version < '3.10'",
53 ],
54 )