-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathsetup.py
More file actions
44 lines (37 loc) · 1.2 KB
/
Copy pathsetup.py
File metadata and controls
44 lines (37 loc) · 1.2 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
import os
import re
from setuptools import setup
# reading pymlconf version (same way sqlalchemy does)
with open(
os.path.join(os.path.dirname(__file__), 'pymlconf.py')
) as v_file:
package_version = \
re.compile(r".*__version__ = '(.*?)'", re.S) \
.match(v_file.read()) \
.group(1)
dependencies = [
'pyyaml >= 6.0.3'
]
setup(
name="pymlconf",
version=package_version,
author="Vahid Mardani",
author_email="vahid.mardani@gmail.com",
url="http://github.com/pylover/pymlconf",
description="Another configuration library using yaml",
long_description=open('README.md').read(),
long_description_content_type='text/markdown', # This is important!
py_modules=['pymlconf'],
platforms=["any"],
install_requires=dependencies,
classifiers=[
"Development Status :: 5 - Production/Stable",
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Software Development :: Libraries'
],
)