-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
38 lines (31 loc) · 1.09 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import io
import setuptools
from pathlib import Path
this_directory = Path(__file__).parent
long_description = this_directory.joinpath("README.md").read_text()
def _get_requirements():
"""
Relax hard pinning in setup.py
"""
with io.open("requirements.txt", encoding="utf-8") as requirements:
return [line.replace("==", ">=") for line in requirements.readlines()]
setuptools.setup(
name="foundrytools-cli",
version="1.1.22",
description="A set of command line tools to inspect, manipulate and convert font files",
long_description=long_description,
long_description_content_type="text/markdown",
author="ftCLI",
author_email="[email protected]",
url="https://github.com/ftCLI/FoundryTools-CLI",
packages=setuptools.find_packages(),
include_package_data=True,
entry_points={"console_scripts": ["ftcli = foundryToolsCLI.__main__:main"]},
install_requires=_get_requirements(),
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
],
python_requires=">=3.9",
zip_safe=False,
)