-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
48 lines (44 loc) · 1.49 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
import runpy
from distutils.core import setup
from pathlib import Path
from setuptools import find_packages
classifiers = [
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'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 :: Only',
]
name = 'lazycon'
root = Path(__file__).resolve().parent
with open(root / 'README.md', encoding='utf-8') as file:
long_description = file.read()
version = runpy.run_path(root / name / '__version__.py')['__version__']
setup(
name=name,
packages=find_packages(include=(name,)),
include_package_data=True,
version=version,
description='Easy config files in pure Python',
long_description=long_description,
long_description_content_type='text/markdown',
author='Max',
author_email='[email protected]',
license='MIT',
url='https://github.com/maxme1/lazycon',
download_url='https://github.com/maxme1/lazycon/archive/v%s.tar.gz' % version,
keywords=['config', 'lazy', 'interpreter'],
classifiers=classifiers,
install_requires=[],
python_requires='>=3.6',
entry_points={
'console_scripts': [
'lazycon = lazycon.console:main',
],
},
)