-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
37 lines (32 loc) · 1005 Bytes
/
Copy pathsetup.py
File metadata and controls
37 lines (32 loc) · 1005 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
35
36
37
from setuptools import setup, find_packages
import os
version = {}
with open(os.path.join("scripts", "version.py")) as f:
exec(f.read(), version)
## install main application
desc = ""
with open("README.md", "r", encoding = "utf-8") as fh:
long_description = fh.read()
import os
lib_folder = os.path.dirname(os.path.realpath(__file__))
requirement_path = f"{lib_folder}/requirements.txt"
install_requires = []
if os.path.isfile(requirement_path):
with open(requirement_path) as f:
install_requires = f.read().splitlines()
setup(
name="MAGs-visualization",
version=version["__version__"],
install_requires=install_requires,
description=desc,
long_description=long_description,
long_description_content_type = "text/markdown",
author="Santino Faack",
author_email="santino_faack@gmx.de",
license="GPL-3.0",
packages=find_packages(),
url="https://github.com/SantaMcCloud/MAGs-visualization",
scripts=[
"scripts/main.py"
],
)