beeware
Advanced tools
| briefcase | ||
| toga>=0.3.0.dev1 |
| Metadata-Version: 1.1 | ||
| Name: beeware | ||
| Version: 0.0.0 | ||
| Version: 0.1.0 | ||
| Summary: UNKNOWN | ||
@@ -10,3 +10,3 @@ Home-page: http://pybee.org/ | ||
| Description-Content-Type: UNKNOWN | ||
| Description: .. image:: http://pybee.org/static/images/defaultlogo.png | ||
| Description: .. image:: http://pybee.org/static/images/brutus-270.png | ||
| :width: 72px | ||
@@ -18,2 +18,18 @@ :target: https://pybee.org/ | ||
| .. image:: https://img.shields.io/pypi/pyversions/beeware.svg | ||
| :target: https://pypi.python.org/pypi/beeware | ||
| .. image:: https://img.shields.io/pypi/v/beeware.svg | ||
| :target: https://pypi.python.org/pypi/beeware | ||
| .. image:: https://img.shields.io/pypi/status/beeware.svg | ||
| :target: https://pypi.python.org/pypi/beeware | ||
| .. image:: https://img.shields.io/pypi/l/beeware.svg | ||
| :target: https://github.com/pybee/beeware/blob/master/LICENSE | ||
| .. image:: https://badges.gitter.im/pybee/general.svg | ||
| :target: https://gitter.im/pybee/general | ||
| BeeWare is a collection of tools and libraries to aid native application | ||
@@ -27,19 +43,41 @@ development in Python. | ||
| To install it, run:: | ||
| To install BeeWare, create a new virtual environment:: | ||
| > pip install beeware | ||
| $ mkdir beeware | ||
| $ cd beeware | ||
| beeware $ python -m venv venv | ||
| beeware $ ./venv/bin/activate | ||
| Then -- To start a new project: | ||
| (or, if you're on Windows):: | ||
| > beeware start | ||
| beeware $ venv\Scripts\activate.bat | ||
| To build a project for iOS: | ||
| Then, install BeeWare in that virtual environment:: | ||
| > beeware build ios | ||
| (venv) $ pip install beeware | ||
| To run a project on the iOS simulator (this will also do a build): | ||
| To start a new project, run:: | ||
| > beeware run ios | ||
| (venv) $ beeware new | ||
| This will prompt you for details of your new project, such as the name, | ||
| description, and license. | ||
| Once you've added your application code, run:: | ||
| (venv) $ beeware build ios | ||
| from the directory that beeware created to build your application. To run | ||
| your application:: | ||
| (venv) $ beeware run ios | ||
| You can also target `android`, `macos`, `windows`, `linux` or `django`. | ||
| This will: | ||
| * Run the app in the simulator for iOS and Android; | ||
| * Start a desktop app on Windows, macOS and Linux; and | ||
| * Start a webserver on port 8000 for Django | ||
| Community | ||
@@ -77,3 +115,2 @@ --------- | ||
| Classifier: Programming Language :: Python :: 3 | ||
| Classifier: Programming Language :: Python :: 3.4 | ||
| Classifier: Programming Language :: Python :: 3.5 | ||
@@ -80,0 +117,0 @@ Classifier: Programming Language :: Python :: 3.6 |
@@ -13,2 +13,3 @@ AUTHORS | ||
| beeware.egg-info/entry_points.txt | ||
| beeware.egg-info/requires.txt | ||
| beeware.egg-info/top_level.txt |
+59
-1
@@ -0,1 +1,5 @@ | ||
| import argparse | ||
| import subprocess | ||
| import sys | ||
| # Examples of valid version strings | ||
@@ -9,2 +13,56 @@ # __version__ = '1.2.3.dev1' # Development release 1 | ||
| __version__ = '0.0.0' | ||
| __version__ = '0.1.0' | ||
| def new_project(): | ||
| cmd = ['cookiecutter', 'https://github.com/pybee/briefcase-template.git'] | ||
| print('Creating new BeeWare project using the Briefcase Template...') | ||
| print('>>>', ' '.join(cmd)) | ||
| print() | ||
| subprocess.run(cmd) | ||
| def build_project(target): | ||
| cmd = ['setup.py', target] | ||
| print('Running Briefcase...') | ||
| print('>>> python', ' '.join(cmd)) | ||
| print() | ||
| subprocess.run([sys.executable] + cmd) | ||
| def run_project(target): | ||
| cmd = ['setup.py', target, '-s'] | ||
| print('Running Briefcase...') | ||
| print('>>> python', ' '.join(cmd)) | ||
| print() | ||
| subprocess.run([sys.executable] + cmd) | ||
| def main(): | ||
| parser = argparse.ArgumentParser() | ||
| subparsers = parser.add_subparsers(help='sub-command help', dest='command') | ||
| # beeware new | ||
| new_parser = subparsers.add_parser('new') | ||
| # beeware build | ||
| build_parser = subparsers.add_parser('build') | ||
| build_parser.add_argument('target', help='The platform to build') | ||
| # beeware run | ||
| run_parser = subparsers.add_parser('run') | ||
| run_parser.add_argument('target', help='The platform on which to run') | ||
| args = parser.parse_args() | ||
| if args.command == 'new': | ||
| new_project() | ||
| elif args.command == 'build': | ||
| build_project(args.target.lower()) | ||
| elif args.command == 'run': | ||
| run_project(args.target.lower()) | ||
| else: | ||
| parser.print_help() | ||
| if __name__ == '__main__': | ||
| main() |
+48
-11
| Metadata-Version: 1.1 | ||
| Name: beeware | ||
| Version: 0.0.0 | ||
| Version: 0.1.0 | ||
| Summary: UNKNOWN | ||
@@ -10,3 +10,3 @@ Home-page: http://pybee.org/ | ||
| Description-Content-Type: UNKNOWN | ||
| Description: .. image:: http://pybee.org/static/images/defaultlogo.png | ||
| Description: .. image:: http://pybee.org/static/images/brutus-270.png | ||
| :width: 72px | ||
@@ -18,2 +18,18 @@ :target: https://pybee.org/ | ||
| .. image:: https://img.shields.io/pypi/pyversions/beeware.svg | ||
| :target: https://pypi.python.org/pypi/beeware | ||
| .. image:: https://img.shields.io/pypi/v/beeware.svg | ||
| :target: https://pypi.python.org/pypi/beeware | ||
| .. image:: https://img.shields.io/pypi/status/beeware.svg | ||
| :target: https://pypi.python.org/pypi/beeware | ||
| .. image:: https://img.shields.io/pypi/l/beeware.svg | ||
| :target: https://github.com/pybee/beeware/blob/master/LICENSE | ||
| .. image:: https://badges.gitter.im/pybee/general.svg | ||
| :target: https://gitter.im/pybee/general | ||
| BeeWare is a collection of tools and libraries to aid native application | ||
@@ -27,19 +43,41 @@ development in Python. | ||
| To install it, run:: | ||
| To install BeeWare, create a new virtual environment:: | ||
| > pip install beeware | ||
| $ mkdir beeware | ||
| $ cd beeware | ||
| beeware $ python -m venv venv | ||
| beeware $ ./venv/bin/activate | ||
| Then -- To start a new project: | ||
| (or, if you're on Windows):: | ||
| > beeware start | ||
| beeware $ venv\Scripts\activate.bat | ||
| To build a project for iOS: | ||
| Then, install BeeWare in that virtual environment:: | ||
| > beeware build ios | ||
| (venv) $ pip install beeware | ||
| To run a project on the iOS simulator (this will also do a build): | ||
| To start a new project, run:: | ||
| > beeware run ios | ||
| (venv) $ beeware new | ||
| This will prompt you for details of your new project, such as the name, | ||
| description, and license. | ||
| Once you've added your application code, run:: | ||
| (venv) $ beeware build ios | ||
| from the directory that beeware created to build your application. To run | ||
| your application:: | ||
| (venv) $ beeware run ios | ||
| You can also target `android`, `macos`, `windows`, `linux` or `django`. | ||
| This will: | ||
| * Run the app in the simulator for iOS and Android; | ||
| * Start a desktop app on Windows, macOS and Linux; and | ||
| * Start a webserver on port 8000 for Django | ||
| Community | ||
@@ -77,3 +115,2 @@ --------- | ||
| Classifier: Programming Language :: Python :: 3 | ||
| Classifier: Programming Language :: Python :: 3.4 | ||
| Classifier: Programming Language :: Python :: 3.5 | ||
@@ -80,0 +117,0 @@ Classifier: Programming Language :: Python :: 3.6 |
+47
-9
@@ -1,2 +0,2 @@ | ||
| .. image:: http://pybee.org/static/images/defaultlogo.png | ||
| .. image:: http://pybee.org/static/images/brutus-270.png | ||
| :width: 72px | ||
@@ -8,2 +8,18 @@ :target: https://pybee.org/ | ||
| .. image:: https://img.shields.io/pypi/pyversions/beeware.svg | ||
| :target: https://pypi.python.org/pypi/beeware | ||
| .. image:: https://img.shields.io/pypi/v/beeware.svg | ||
| :target: https://pypi.python.org/pypi/beeware | ||
| .. image:: https://img.shields.io/pypi/status/beeware.svg | ||
| :target: https://pypi.python.org/pypi/beeware | ||
| .. image:: https://img.shields.io/pypi/l/beeware.svg | ||
| :target: https://github.com/pybee/beeware/blob/master/LICENSE | ||
| .. image:: https://badges.gitter.im/pybee/general.svg | ||
| :target: https://gitter.im/pybee/general | ||
| BeeWare is a collection of tools and libraries to aid native application | ||
@@ -17,19 +33,41 @@ development in Python. | ||
| To install it, run:: | ||
| To install BeeWare, create a new virtual environment:: | ||
| > pip install beeware | ||
| $ mkdir beeware | ||
| $ cd beeware | ||
| beeware $ python -m venv venv | ||
| beeware $ ./venv/bin/activate | ||
| Then -- To start a new project: | ||
| (or, if you're on Windows):: | ||
| > beeware start | ||
| beeware $ venv\Scripts\activate.bat | ||
| To build a project for iOS: | ||
| Then, install BeeWare in that virtual environment:: | ||
| > beeware build ios | ||
| (venv) $ pip install beeware | ||
| To run a project on the iOS simulator (this will also do a build): | ||
| To start a new project, run:: | ||
| > beeware run ios | ||
| (venv) $ beeware new | ||
| This will prompt you for details of your new project, such as the name, | ||
| description, and license. | ||
| Once you've added your application code, run:: | ||
| (venv) $ beeware build ios | ||
| from the directory that beeware created to build your application. To run | ||
| your application:: | ||
| (venv) $ beeware run ios | ||
| You can also target `android`, `macos`, `windows`, `linux` or `django`. | ||
| This will: | ||
| * Run the app in the simulator for iOS and Android; | ||
| * Start a desktop app on Windows, macOS and Linux; and | ||
| * Start a webserver on port 8000 for Django | ||
| Community | ||
@@ -36,0 +74,0 @@ --------- |
+4
-1
@@ -33,2 +33,6 @@ #!/usr/bin/env python | ||
| license='New BSD', | ||
| install_requires=[ | ||
| 'briefcase', | ||
| 'toga>=0.3.0.dev1', | ||
| ], | ||
| classifiers=[ | ||
@@ -40,3 +44,2 @@ 'Development Status :: 4 - Beta', | ||
| 'Programming Language :: Python :: 3', | ||
| 'Programming Language :: Python :: 3.4', | ||
| 'Programming Language :: Python :: 3.5', | ||
@@ -43,0 +46,0 @@ 'Programming Language :: Python :: 3.6', |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
16650
51.99%15
7.14%95
93.88%