This repository was archived by the owner on Oct 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
51 lines (44 loc) · 1.45 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
import glob
import os
from setuptools import setup, find_packages
with open('README.md') as readme_file:
readme = readme_file.read()
with open('HISTORY.md') as history_file:
history = history_file.read()
here = os.path.abspath(os.path.dirname(__file__))
about = {}
with open(os.path.join(here, 'flloat', '__version__.py'), 'r') as f:
exec(f.read(), about)
setup(
name=about['__title__'],
description=about['__description__'],
version=about['__version__'],
author=about['__author__'],
url=about['__url__'],
author_email=about["__author_email__"],
long_description=readme + '\n\n' + history,
long_description_content_type="text/markdown",
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
install_requires=["lark-parser", "pythomata>=0.3.2", "sympy"],
license=about["__license__"],
include_package_data=True,
data_files=[
("flloat/parser", glob.glob("flloat/parser/*.lark")),
],
keywords='flloat',
packages=find_packages(include=['flloat*']),
test_suite='tests',
tests_require=["pytest"],
zip_safe=False,
)