-
Notifications
You must be signed in to change notification settings - Fork 433
/
setup.py
63 lines (57 loc) · 2.01 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
56
57
58
59
60
61
62
63
from setuptools import setup
def read_files(files):
data = []
for file in files:
with open(file, encoding='utf-8') as f:
data.append(f.read())
return "\n".join(data)
long_description = read_files(['README.md', 'CHANGELOG.md'])
meta = {}
with open('./src/dotenv/version.py', encoding='utf-8') as f:
exec(f.read(), meta)
setup(
name="python-dotenv",
description="Read key-value pairs from a .env file and set them as environment variables",
long_description=long_description,
long_description_content_type='text/markdown',
version=meta['__version__'],
author="Saurabh Kumar",
author_email="me+github@saurabh-kumar.com",
url="https://github.com/theskumar/python-dotenv",
keywords=['environment variables', 'deployments', 'settings', 'env', 'dotenv',
'configurations', 'python'],
packages=['dotenv'],
package_dir={'': 'src'},
package_data={
'dotenv': ['py.typed'],
},
python_requires=">=3.8",
extras_require={
'cli': ['click>=5.0', ],
},
entry_points={
"console_scripts": [
"dotenv=dotenv.__main__:cli",
],
},
license='BSD-3-Clause',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'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',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: Implementation :: PyPy',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Topic :: System :: Systems Administration',
'Topic :: Utilities',
'Environment :: Web Environment',
]
)