Skip to content

Commit

Permalink
Version at pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
UmSenhorQualquer committed Aug 9, 2018
1 parent d8bef59 commit 9a49802
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ If you find this project useful, please, do not forget to ![star it](https://raw

Pyforms **Web** is a software layer, part of the Pyforms main library. This layer implements the execution of a Pyforms application in a web browser.

![Diagram](docs/source/_static/imgs/pyforms-layers-web.png "Screen")
![Diagram](https://raw.githubusercontent.com/UmSenhorQualquer/pyforms-terminal/v4/docs/source/_static/imgs/pyforms-layers-terminal.png "Screen")



Expand All @@ -17,7 +17,7 @@ Pyforms **Web** is a software layer, part of the Pyforms main library. This laye

Pyforms is a Python 3 cross-enviroment framework that aims the boost the developement productivity. The library provides an API in Python to develop applications that can be executed in Windows GUI mode, Web mode, or in Terminal mode.

[More @ ![Diagram](docs/source/_static/imgs/rtd.png)](https://pyforms.readthedocs.io)
[More @ ![Diagram](https://raw.githubusercontent.com/UmSenhorQualquer/pyforms-terminal/v4/docs/source/_static/imgs/rtd.png)](https://pyforms.readthedocs.io)



Expand Down Expand Up @@ -126,4 +126,4 @@ class ComputerVisionAlgorithm(BaseWidget):
Result of the application running in a web browser:


![ScreenShot](docs/source/_static/imgs/web-example-computervisionalgorithm.png)
![ScreenShot](https://raw.githubusercontent.com/UmSenhorQualquer/pyforms-web/v4/docs/source/_static/imgs/web-example-computervisionalgorithm.png)
2 changes: 1 addition & 1 deletion pyforms_web/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
__author__ = "Ricardo Ribeiro"
__credits__ = ["Ricardo Ribeiro"]
__license__ = 'GNU GPLv3'
__version__ = "4.0.1"
__version__ = "4.0.5"
__maintainer__ = "Ricardo Ribeiro"
__email__ = "ricardojvr@gmail.com"
__status__ = "Development"
Expand Down
65 changes: 63 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@
version = ''
license = ''
with open('pyforms_web/__init__.py', 'r') as fd:
content = fd.read()
version = re.search(
r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1)
r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', content, re.MULTILINE).group(1)

license = re.search(
r'^__license__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1)
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')
Expand All @@ -24,6 +25,8 @@ def find_files(package_name,directory, pattern):
filename = os.path.join(root[len(package_name)+1:], basename)
yield filename

with open('README.md', 'r') as fd:
long_description = fd.read()

setup(
name = 'PyForms-Web',
Expand All @@ -33,6 +36,10 @@ def find_files(package_name,directory, pattern):
author_email = 'ricardojvr@gmail.com',
license = license,
url = 'https://github.com/UmSenhorQualquer/pyforms-web',

long_description = long_description,
long_description_content_type = 'text/markdown',

include_package_data = True,
packages=find_packages(),
package_data={
Expand All @@ -53,4 +60,58 @@ def find_files(package_name,directory, pattern):
'python-dateutil',
'confapp'
],

classifiers=[
'Development Status :: 5 - Production/Stable',

'Topic :: Software Development :: Build Tools',

'Programming Language :: Python :: 3',

'Environment :: MacOS X',
'Environment :: Win32 (MS Windows)',
'Environment :: Web Environment',

'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 :: Artistic Software',
'Topic :: Games/Entertainment',
'Topic :: Multimedia :: Graphics :: 3D Rendering',
'Topic :: Multimedia :: Graphics :: Capture :: Digital Camera',
'Topic :: Multimedia :: Graphics :: Presentation',
'Topic :: Multimedia :: Graphics :: Viewers',
'Topic :: Multimedia :: Video :: Display',
'Topic :: Scientific/Engineering :: Human Machine Interfaces',
'Topic :: Scientific/Engineering :: Visualization',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: User Interfaces',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Browsers',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Content Management System',
'Topic :: Internet :: WWW/HTTP :: Site Management',
'Topic :: Internet :: WWW/HTTP :: Site Management :: Link Checking',
'Topic :: Internet :: WWW/HTTP :: WSGI',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Server',
'Topic :: Scientific/Engineering :: Visualization',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Widget Sets',

'Framework :: Django :: 2.0'
],



keywords='web development single-page-application pyforms'
)

0 comments on commit 9a49802

Please sign in to comment.