-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
34 lines (30 loc) · 1.05 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
#!/usr/bin/env python3
import os
from setuptools import setup, find_packages
VERSION = "1.1.1"
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
# Get the requirements from requirements folder
with open("requirements/base.txt", "r") as fh:
requirements = fh.read().splitlines()
setup(
name="vnet-manager",
version=VERSION,
url="https://github.com/Erik-Lamers1/vnet-manager",
download_url="https://github.com/Erik-Lamers1/vnet-manager/archive/{}.tar.gz".format(VERSION),
packages=find_packages(exclude=["tools", "tools.*", "tests", "tests.*", "*.tests", "*.tests.*"]),
author="Erik Lamers",
license="MIT",
install_requires=requirements,
entry_points={
"console_scripts": [
"vnet-manager = vnet_manager.vnet_manager:main",
],
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.8",
)