-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
34 lines (28 loc) · 908 Bytes
/
setup.py
File metadata and controls
34 lines (28 loc) · 908 Bytes
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
import os
import unittest
from setuptools import find_packages, setup
import envconfig
def test_suite():
test_loader = unittest.TestLoader()
test_suite = test_loader.discover("tests/", pattern="test_*.py")
return test_suite
setup(
name="pyenvconfig",
version=envconfig.__version__,
description="Simple environment variable configuration for Python",
author="Makram Kamaleddine",
url="https://github.com/makramkd/envconfig",
keywords="environment-variables env-var configuration",
long_description=open(os.path.join(os.path.dirname(__file__), "README.md")).read(),
long_description_content_type="text/markdown",
classifiers=[
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
],
packages=find_packages(),
test_suite="setup.test_suite",
tests_require=[
"coverage",
"flake8",
],
)