-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
38 lines (31 loc) · 966 Bytes
/
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
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from setuptools.command.test import test
import os
import sys
if sys.version_info < (3, 6):
sys.exit("python < 3.6 is not supported")
version_path = os.path.join(
os.path.dirname(__file__), "source", "eggbasket", "_version.py",
)
with open(version_path) as version_file:
env = {}
exec(version_file.read(), env)
VERSION = env["__version__"]
ROOT_PATH = os.path.dirname(os.path.realpath(__file__))
SOURCE_PATH = os.path.join(ROOT_PATH, "source")
setup(
name="eggbasket",
version=VERSION,
packages=find_packages(SOURCE_PATH),
author="Eric Hermelin",
author_email="eric.hermelin@gmail.com",
python_requires=">3.6",
entry_points={"console_scripts": ["eggbasket=eggbasket.__main__:main",],},
install_requires=[
"mitmproxy==7.0.3",
"prometheus-client==0.8.0",
"dataclasses>=0.7",
],
package_dir={"": "source",},
)