-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
35 lines (30 loc) · 987 Bytes
/
setup.py
File metadata and controls
35 lines (30 loc) · 987 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
# Standard library imports
from pathlib import Path
import re
# Third party imports
from setuptools import setup
# Not a robust solution to get the version, but is there a better way?
__version__ ,= re.findall("__version__: str = '(.*)'", open('vprolog/__init__.py').read())
# The directory containing this file
HERE = Path(__file__).resolve().parent
README = (HERE / 'README.md').read_text()
setup(
name='vprolog',
version=__version__,
description='Incomplete Prolog interpreter in Python',
long_description=README,
long_description_content_type='text/markdown',
url='https://github.com/Vekteur/vprolog',
author='Victor Dheur',
author_email='vic.dheur@gmail.com',
license='MIT',
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
],
packages=['vprolog'],
include_package_data=True,
install_requires=['lark>=1'],
entry_points={'console_scripts': ['vprolog=vprolog.__main__:main']},
)