-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
34 lines (27 loc) · 964 Bytes
/
setup.py
File metadata and controls
34 lines (27 loc) · 964 Bytes
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
# -*- coding: utf-8 -*-
"""Setup file for strops
"""
__author__ = ""
__version__ = ""
from os import path
from setuptools import setup, find_packages
CWD = path.abspath(path.dirname(__file__))
with open(path.join(CWD, "README.md"), encoding="utf-8") as inp:
LONG_DESCRIPTION = inp.read()
with open(path.join(CWD, "requirements.txt"), encoding="utf-8") as inp:
REQUIREMENTS = [el.strip() for el in inp.read().split(",")]
with open(path.join(CWD, "requirements-dev.txt"), encoding="utf-8") as inp:
REQUIREMENTS_DEV = [el.strip() for el in inp.read().split(",")]
setup(
name="strops",
version=__version__,
description=None,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
author=__author__,
keywords=[],
packages=find_packages(),
install_requires=REQUIREMENTS,
extras_require={"dev": REQUIREMENTS_DEV},
entry_points={"console_scripts": ["strops=strops.manage:main"]},
)