forked from freetype/docwriter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
52 lines (48 loc) · 1.59 KB
/
setup.py
File metadata and controls
52 lines (48 loc) · 1.59 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#
# setup.py
#
# Package setup rules for docwriter
#
# Copyright 2018 by
# Nikhil Ramakrishnan.
#
# This file is part of the FreeType project, and may only be used,
# modified, and distributed under the terms of the FreeType project
# license, LICENSE.TXT. By continuing to use, modify, or distribute
# this file you indicate that you have read the license and
# understand and accept it fully.
from setuptools import setup, find_packages
with open("README.md", "r") as fh:
long_description = fh.read()
# Load list of dependencies
with open("requirements.txt") as data:
install_requires = [
line for line in data.read().split("\n")
if line and not line.startswith("#")
]
# Package description
setup(
name = 'docwriter',
use_scm_version = True,
setup_requires = ['setuptools_scm'],
url = 'https://github.com/freetype/docwriter',
license = 'FreeType License',
description = 'API reference documentation generator for FreeType.',
long_description = long_description,
long_description_content_type = 'text/markdown',
author = 'Nikhil Ramakrishnan',
author_email = 'freetype-devel@nongnu.org',
keywords = 'freetype docwriter',
packages = find_packages(),
include_package_data = True,
install_requires = install_requires,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Documentation',
'Topic :: Text Processing',
],
)