-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
45 lines (37 loc) · 1.21 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
#!/usr/bin/env python3
# Import comunity modules.
import os
import sys
from setuptools import find_packages, setup
# Set module import path.
HERE = os.path.dirname(os.path.realpath(__file__))
sys.path.insert(1, f"{HERE}/dugaire")
# Import custom modules.
from pkg.app import app
# REAME content
README = open(os.path.join(HERE, "README.md")).read()
REQUIREMENTS = open(os.path.join(HERE, "requirements.txt")).read().splitlines()
setup(
name=app.get_prog_name(),
version=app.get_version(),
description="Build Docker images with custom packages for local development, testing and daily tasks.",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/tadeugr/dugaire",
author="Tadeu Granemann",
license="Apache License, Version 2.0",
classifiers=[
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
],
packages=find_packages(
exclude=[
"tests",
"docs",
]
),
include_package_data=True,
install_requires=[REQUIREMENTS],
entry_points={"console_scripts": ["dugaire=dugaire.dugaire:main"]},
)