-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
37 lines (30 loc) · 946 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
import os
from setuptools import find_packages, setup
# Declare your non-python data files:
# Files underneath configuration/ will be copied into the build preserving the
# subdirectory structure if they exist.
data_files = []
setup(
name="petunia",
version="1.0",
# declare your packages
packages=find_packages(where="src", exclude=("test",)),
package_dir={"": "src"},
# include data files
data_files=data_files,
entry_points="""\
[console_scripts]
iptables-unroll = petunia.UnrollApp:main
iptables-slice = petunia.SliceApp:main
iptables-unslice = petunia.UnsliceApp:main
iptables-scoreboard = petunia.ScoreboardApp:main
tc-flower-load = petunia.LoadApp:main
tc-flower-show = petunia.ShowApp:main
""",
# Enable build-time format checking
check_format=False,
# Enable type checking
test_mypy=False,
# Enable linting at build time
test_flake8=False,
)