-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
41 lines (36 loc) · 1.58 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
# ! important
# see https://stackoverflow.com/a/27868004/1497139
from setuptools import setup, find_packages
# read the contents of your README file
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
with open(path.join(this_directory, 'requirements.txt'), encoding='utf-8') as f:
requirements=f.readlines()
setup(
name='wikirender',
version='0.0.43',
packages=['wikifile','templates','templates/macros', 'wikifile/resources/metamodel'],
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
install_requires=requirements,
entry_points={
'console_scripts': [
'wikirender = wikifile.wikiRender:main_module_call',
'wikiextract = wikifile.wikiExtract:main_module_call',
],
},
package_data={'templates': ['*.jinja', 'templates/*.jinja','templates/macros/*.jinja'],'templates/macros': ['*.jinja', 'templates/*.jinja','templates/macros/*.jinja'], "wikifile/resources/metamodel":['*.json']},
author='Tim Holzheim',
maintainer='Tim Holzheim',
url='https://github.com/tholzheim/wikirender',
license='Apache License',
description='Convert Json data into wiki files or update existing files. Provides different templates to generate wiki files',
long_description=long_description,
long_description_content_type='text/markdown'
)