This repository has been archived by the owner on Dec 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
55 lines (44 loc) · 1.6 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
from setuptools import setup
from codecs import open # To use a consistent encoding
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
# Get content from __about__.py
about = {}
with open(path.join(here, 'flexisettings', '__about__.py'), 'r', 'utf-8') as f:
exec(f.read(), about)
setup(
name='flexisettings',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version=about['__version__'],
description='Overridable config for shared libraries.',
long_description=long_description,
url='https://github.com/depop/python-flexisettings',
author='Depop',
author_email='[email protected]',
license='Apache 2.0',
classifiers=[
'Environment :: Plugins',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 2.7',
],
install_requires=[
'configloader[attrdict,yaml]>=1.0.1,<1.1',
'wrapt>=1.10,<2.0',
'typing>=3.6.2,<4.0; python_version < "3.6"',
'six',
],
packages=[
'flexisettings',
],
)