-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
39 lines (34 loc) · 993 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
39
import io
import os
from setuptools import find_packages, setup
# Package meta-data.
NAME = 'tcam_usage_calculator'
DESCRIPTION = 'Predict TCAM usage of router.'
URL = 'https://github.com/xflagstudio/tcam_usage_calculator'
EMAIL = '[email protected]'
AUTHOR = 'hekki'
REQUIRED = []
here = os.path.abspath(os.path.dirname(__file__))
with io.open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = '\n' + f.read()
about = {}
with open(os.path.join(here, NAME, '__version__.py')) as f:
exec(f.read(), about)
setup(
name=NAME,
version=about['__version__'],
description=DESCRIPTION,
long_description=long_description,
author=AUTHOR,
author_email=EMAIL,
url=URL,
packages=find_packages(exclude=('tests',)),
entry_points={
'console_scripts': [
'tcam_usage_calculator=tcam_usage_calculator.main:main'
],
},
install_requires=REQUIRED,
python_requires='>=3.6',
license='MIT'
)