This repository was archived by the owner on Feb 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·48 lines (41 loc) · 1.29 KB
/
setup.py
File metadata and controls
executable file
·48 lines (41 loc) · 1.29 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import codecs
from setuptools import setup
def read(fname):
file_path = os.path.join(os.path.dirname(__file__), fname)
return codecs.open(file_path, encoding='utf-8').read()
version = read('configmanager/__init__.py').split('\n')[0].split('=', 1)[1].strip().strip("'")
setup(
name='configmanager',
version=version,
author='Jazeps Basko',
author_email='jazeps.basko@gmail.com',
maintainer='Jazeps Basko',
maintainer_email='jazeps.basko@gmail.com',
license='MIT',
url='https://github.com/jbasko/configmanager',
description='Forget about configparser, YAML, or JSON parsers. Focus on configuration.',
long_description=read('README.rst'),
packages=['configmanager'],
install_requires=[
'six',
'future',
'configparser',
'hookery == 1.4.0',
],
extras_require={
'yaml': ['PyYAML'],
'click': ['click'],
},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'License :: OSI Approved :: MIT License',
],
)