-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
44 lines (38 loc) · 1.55 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
from setuptools import setup, find_packages
import re
REPO_URL = "https://github.com/Mohammedvaraliya/AutomaPy"
def read_description():
with open("README.md") as f:
header = "For more information, see the [GitHub Repository]" \
"({0}).".format(REPO_URL)
filter_re = re.compile(r'.*\bPyPI\b.*')
contents = header + "\n" + filter_re.sub("", f.read())
return contents.strip()
VERSION = '1.3.5'
DESCRIPTION = 'This package refers to the topic of automata theory, which includes DFA, NDFA, Mealy machines, Moore machines, Finite state machine and Turing machine.'
# Setting up
setup(
name="AutomaPy",
version=VERSION,
author="Mohammed Varaliya",
author_email="<mohammedvaraliya2661392@gmail.com>",
description=DESCRIPTION,
long_description_content_type="text/markdown",
long_description=read_description(),
packages=find_packages(),
install_requires=[],
keywords=['python', 'DFA', 'NDFA',
'Mealy machines', 'Moore machines', 'Automata', 'Theory of Computation', 'Finite State Machine', 'Finite Automaton', 'Turing Machine'],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Operating System :: Unix",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
],
entry_points={
'console_scripts': ['AutomaPy=AutomaPy.help_command:main']
}
)