forked from UmSenhorQualquer/pyforms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
27 lines (23 loc) · 813 Bytes
/
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
#!/usr/bin/python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import re
version = ''
with open('pyforms/__init__.py', 'r') as fd: version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
if not version: raise RuntimeError('Cannot find version information')
setup(
name='PyForms',
version=version,
description="""Pyforms is a Python framework to develop GUI applications based on pyqt""",
author='Ricardo Ribeiro',
author_email='[email protected]',
license='MIT',
url='https://github.com/UmSenhorQualquer/pyforms',
install_requires=[
'pyforms-terminal',
'pyforms-gui',
'pyforms-web',
],
packages=find_packages()
)