-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·66 lines (60 loc) · 1.62 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#! /usr/bin/env python3
# coding: utf-8
"""
REMINDER:
1- build
./setup.py sdist bdist_wheel
2- basic verifications
twine check dist/*
2.5- Deploy on testpypi (optionnal, site here : https://test.pypi.org/):
twine upload --repository testpypi dist/*
3- upload to PyPi
twine upload dist/*
"""
from madoc import __version__
import pathlib
from setuptools import setup
# The directory containing this file
HERE = pathlib.Path(__file__).parent
# The text of the README file
README = (HERE / "README.md").read_text()
# This call to setup() does all the work
setup(
name="madoc",
version=f"{__version__}",
description=(
"Documentation generator from markdown files"
),
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/byoso/madoc",
author="Vincent Fabre",
author_email="[email protected]",
license="MIT",
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
],
packages=[
"madoc",
"madoc.templates",
"madoc.templates.madoc",
"madoc.assets",
],
# include_package_data=True,
package_data={'': ['*.tpl', '*.html', '*.ico']},
python_requires='>=3.8',
install_requires=[
'Jinja2>=3.1.2,<4.0.0',
],
keywords='markdown html documentation',
entry_points={
"console_scripts": [
"madoc=madoc.main:cmd",
]
},
setup_requires=['wheel'],
)