-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
29 lines (27 loc) · 1018 Bytes
/
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
from glob import glob
from os import path
from os.path import basename, splitext
from setuptools import find_packages, setup
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='varsubst',
version='2.0.0',
url='https://github.com/tiboun/varsubst',
author='Bounkong Khamphousone',
author_email='[email protected]',
py_modules=[splitext(basename(path))[0] for path in glob('src/*.py')],
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
zip_safe=False,
description=("Substitute variables in a string with a given resolver."
" Act as a render template."),
license="MIT",
long_description=long_description,
long_description_content_type='text/markdown',
extras_require={
'jinja2': ["jinja2"]
}
)