-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
76 lines (72 loc) · 2.37 KB
/
setup.py
File metadata and controls
76 lines (72 loc) · 2.37 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
66
67
68
69
70
71
72
73
74
75
76
"""
Setup script for Sonne static site generator.
"""
from setuptools import setup, find_packages
import os
# Read the long description from README.md
with open('README.md', 'r', encoding='utf-8') as f:
long_description = f.read()
# Read the version from sonne/__init__.py
with open(os.path.join('sonne', '__init__.py'), 'r', encoding='utf-8') as f:
for line in f:
if line.startswith('__version__'):
version = line.split('=')[1].strip().strip("'").strip('"')
break
else:
version = '0.1.0'
setup(
name='sonne',
version=version,
description='A minimalist static site generator optimized for low footprint sites',
long_description=long_description,
long_description_content_type='text/markdown',
author='Mark Carson',
author_email='markcarson.dev@gmail.com',
url='https://github.com/MarkCarsonDev/Sonne',
packages=find_packages(),
include_package_data=True,
entry_points={
'console_scripts': [
'sonne=sonne.cli.commands:main',
],
},
python_requires='>=3.8',
install_requires=[
'markdown>=3.4.0',
'Pillow>=9.0.0',
'click>=8.0.0',
'PyYAML>=6.0',
'Jinja2>=3.0.0',
],
extras_require={
'dev': [
'pytest>=7.0.0',
'pytest-cov>=3.0.0',
'black>=22.0.0',
'isort>=5.10.0',
'flake8>=4.0.0',
],
},
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Internet :: WWW/HTTP :: Site Management',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Text Processing :: Markup :: HTML',
'Topic :: Utilities',
],
keywords='static site generator, blog, markdown, html, web, minimalist',
project_urls={
'Bug Reports': 'https://github.com/MarkCarsonDev/Sonne/issues',
'Source': 'https://github.com/MarkCarsonDev/Sonne',
},
)