-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
65 lines (58 loc) · 1.58 KB
/
setup.py
File metadata and controls
65 lines (58 loc) · 1.58 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
53
54
55
56
57
58
59
60
61
62
63
64
65
"""
Setup
"""
import os
from setuptools import setup, find_packages
def package_files(directory):
"""package_files
recursive method which will lets you set the
package_data parameter in the setup call.
"""
paths = []
for (path, _, filenames) in os.walk(directory):
for filename in filenames:
paths.append(os.path.join('..', path, filename))
return paths
extra_files = package_files('')
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name="fira-code-script",
version="0.0.28",
author="Daniel Kaminski de Souza",
author_email="daniel@kryptonunite.com",
description="Font for code development base on Fira Code.",
long_description=long_description,
long_description_content_type="text/markdown",
url="",
packages=find_packages(exclude=("tests",)),
package_data={'': extra_files},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
],
python_requires='>=3.6<3.8',
install_requires=[
'fonttools',
'HubLatest',
],
extras_require={
'dev': [
'autopep8',
'bumpversion'
],
'test': [
'pytest>=4.6',
'pytest-cov',
],
'docs': [
'rstcheck',
'recommonmark',
'sphinx_rtd_theme',
'sphinx-autodoc-typehints',
'sphinxcontrib-svg2pdfconverter',
'sphinx',
]
}
)