-
-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathsetup.py
50 lines (43 loc) · 1.4 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
39
40
41
42
43
44
45
46
47
48
49
50
#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open("README.md") as f:
readme = f.read()
VERSION = "1.1.0"
setup(
name="python-frontmatter",
version=VERSION,
description="Parse and manage posts with YAML (or other) frontmatter",
long_description=readme,
long_description_content_type="text/markdown",
author="Chris Amico",
author_email="[email protected]",
url="https://github.com/eyeseast/python-frontmatter",
packages=["frontmatter"],
include_package_data=True,
install_requires=["PyYAML"],
extras_require={
"test": ["pytest", "toml", "pyaml", "mypy", "types-PyYAML", "types-toml"],
"docs": ["sphinx"],
},
tests_require=["python-frontmatter[test]"],
license="MIT",
zip_safe=False,
keywords="frontmatter",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
test_suite="test",
)