-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·41 lines (36 loc) · 1.39 KB
/
Copy pathsetup.py
File metadata and controls
executable file
·41 lines (36 loc) · 1.39 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
#!/usr/bin/env python3
import re
from setuptools import setup, find_packages
with open('README.rst', encoding='utf-8') as f:
long_description = f.read()
with open('configchecker/__init__.py', encoding='utf-8') as f:
for line in f:
if '__version__' in line:
version = re.findall(r"'(.*?)'", line)[0]
setup(
name='configchecker',
version=version,
description='INI-config validator',
long_description=long_description,
url='https://github.com/victorsamun/configvalidator',
download_url='https://github.com/victorsamun/configvalidator/archive/master.zip',
author='Samun Victor',
author_email='victor.samun@gmail.com',
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
keywords='configparser configchecker checking validate',
packages=find_packages()
)