-
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) · 863 Bytes
/
Copy pathsetup.py
File metadata and controls
34 lines (27 loc) · 863 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
import io
import re
from setuptools import setup, find_packages
from code import __version__
def read(file_path):
with io.open(file_path, 'r', encoding='utf-8') as f:
return f.read()
readme = read('docs/index.md')
# clearing local versions
# https://packaging.python.org/en/latest/specifications/version-specifiers/#version-specifiers
requirements = '\n'.join(
re.findall(r'^([^\s^+]+).*$', read('utils/requirements.txt'),
flags=re.MULTILINE))
setup(
# metadata
name='GMG_auto',
version=__version__,
license='MIT',
author='Ernest Nasyrov',
author_email="nasyrov.rr@phystech.edu",
description='GMG_auto, python package',
long_description=readme,
url='https://github.com/intsystems/graphical-model-generation',
# options
packages=find_packages(),
install_requires=requirements,
)