-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
29 lines (25 loc) · 986 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
import os.path
from setuptools import setup, find_packages
this_directory = os.path.abspath(os.path.dirname(__file__))
# Load metadata that is also available for the code
metadata = {}
with open(os.path.join(this_directory, "conflowgen", "metadata.py"), encoding="utf-8") as fp:
exec(fp.read(), metadata)
# Load long description
with open(os.path.join(this_directory, 'Readme.md'), encoding='utf-8') as f:
long_description = f.read()
# Define actual setup
# Please check pyproject.toml for dependencies etc., most information is kept there
# noinspection SpellCheckingInspection
setup(
name='conflowgen',
version=metadata['__version__'],
long_description=long_description,
long_description_content_type='text/markdown',
packages=find_packages(),
url='https://github.com/1kastner/conflowgen',
license=metadata['__license__'],
author=metadata['__author__'],
author_email=metadata['__email__'],
description=metadata['__description__']
)