-
Notifications
You must be signed in to change notification settings - Fork 20
/
setup.py
31 lines (27 loc) · 1023 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
# Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
# This software is licensed to you under the Universal Permissive License (UPL) 1.0 as shown at
# https://oss.oracle.com/licenses/upl
"""Setup for MACEst."""
from pathlib import Path
from setuptools import find_packages, setup
# PROJECT SPECIFIC
NAME = "macest"
PACKAGES = find_packages(where="src/")
REQUIRED = Path("requirements.txt").read_text().splitlines()
TEST_REQUIRED = Path("test_requirements.txt").read_text().splitlines()
EXTRAS = {'tests': [TEST_REQUIRED]}
version = Path("src/macest/__version__.py").read_text().split()[-1].strip('"')
setup(
name=NAME,
author="Mathew Rowe @ Oracle",
author_email="[email protected]",
url="https://github.com/oracle/macest",
version=version,
packages=PACKAGES,
package_dir={"": "src"},
license='??',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
install_requires=REQUIRED,
extras_requires=EXTRAS,
)