-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
27 lines (23 loc) · 701 Bytes
/
setup.py
File metadata and controls
27 lines (23 loc) · 701 Bytes
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
import setuptools
from os import path
with open(path.join('docs', 'README.md'), 'r', encoding='utf-8') as fh:
long_description = fh.read()
about = {}
with open(path.join('no_config', '__init__.py'), 'r') as f:
exec(f.read(), about)
setuptools.setup(
name='no_config',
version=about['__version__'],
author='ncdhz',
author_email='ncdhz@qq.com',
description='Simple configuration handling in Python.',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/ncdhz/no_config',
python_requires='>=3.7',
install_requires=[
'PyYAML',
'toml'
],
packages=setuptools.find_packages()
)