-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
74 lines (57 loc) · 2.22 KB
/
setup.py
File metadata and controls
74 lines (57 loc) · 2.22 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#!/usr/bin/python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import os, fnmatch, re
version = ''
license = ''
with open('pyforms_terminal/__init__.py', 'r') as fd:
content = fd.read()
version = re.search(
r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', content, re.MULTILINE).group(1)
license = re.search(
r'^__license__\s*=\s*[\'"]([^\'"]*)[\'"]', content, re.MULTILINE).group(1)
if not version: raise RuntimeError('Cannot find version information')
if not license: raise RuntimeError('Cannot find license information')
with open('README.md', 'r') as fd:
long_description = fd.read()
setup(
name='PyForms-Terminal',
version=version,
description="""Pyforms terminal is a software layer, part of the Pyforms main library. This layer implements the execution of a Pyforms application in the terminal.""",
author='Ricardo Ribeiro',
author_email='ricardojvr@gmail.com',
license=license,
url='https://github.com/UmSenhorQualquer/pyforms-terminal',
long_description = long_description,
long_description_content_type = 'text/markdown',
python_requires='>=2.7',
install_requires=[
'requests',
'idna',
'simplejson',
'opencv-python',
'numpy',
'confapp',
'urllib3',
'Pillow',
],
packages=find_packages(),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Topic :: Software Development :: Build Tools',
'Programming Language :: Python :: 3',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Information Technology',
'Intended Audience :: Science/Research',
'Natural Language :: English',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: Unix',
'Topic :: Scientific/Engineering :: Human Machine Interfaces',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules',
],
keywords='terminal development pyforms'
)