Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Git ignore

  • Loading branch information...
commit 2ef1ba38f7ee9100a90715fc069c87c971eba06d 1 parent c1c2736
@heynemann heynemann authored
View
2  .gitignore
@@ -3,3 +3,5 @@ DS_Store
./generate-template/tmp/**/*
*.swp
*.pyc
+cordova.egg-info
+dist
View
4 cordova/console.py
@@ -28,7 +28,9 @@ def run(self):
sys.exit(0)
-if __name__ == '__main__':
+def main():
console = Console()
console.run()
+if __name__ == '__main__':
+ main()
View
0  cordova/generate-template/__init__.py
No changes.
View
3  cordova/version.py
@@ -3,3 +3,6 @@
# having the version as a tuple makes some automation easier
__version__ = (0, 1, 0)
+
+def format_version():
+ return ".".join([str(digit) for digit in __version__])
View
44 setup.py
@@ -0,0 +1,44 @@
+#!/usr/bin/python
+# -*- coding: utf-8 -*-
+
+from setuptools import setup, find_packages
+from cordova.version import format_version
+
+setup(
+ name = 'cordova',
+ version = format_version(),
+ description = "Top secret but not so secret PhoneGap buildchain for OS X",
+ long_description = """
+A PhoneGap project toolchain that automates common tasks for building cross platform mobile projects with OS X.
+
+Automate common development workflow tasks such as: compiling, debugging, testing, releasing and other things in between. As an added benefit projects generated with Cordova create a consistent, predictable, easy to understand and therefor extend software project. A number of conventions are introduced removing the need for mobile developers to relearn their tools or, worse, rebuild them for every project.""",
+ keywords = 'Mobile PhoneGap Cordova Web',
+ author = 'Brian LeRoux',
+ author_email = 'brian.leroux@westcoastlogic.com',
+ url = 'http://www.phonegap.com',
+ license = 'https://github.com/heynemann/Cordova/blob/master/LICENSE',
+ classifiers = ['Development Status :: 5 - Production/Stable',
+ 'Intended Audience :: Developers',
+ 'License :: OSI Approved',
+ 'Natural Language :: English',
+ 'Operating System :: MacOS',
+ 'Operating System :: Microsoft :: Windows',
+ 'Operating System :: POSIX :: Linux',
+ 'Programming Language :: Python :: 2.6'],
+ packages = find_packages(),
+ package_dir = {"cordova": "cordova"},
+ include_package_data = True,
+
+ package_data = {
+ 'cordova': ['*.*'],
+ },
+
+ entry_points = {
+ 'console_scripts': [
+ 'phonegap = cordova.console:main',
+ ],
+ },
+
+)
+
+
Please sign in to comment.
Something went wrong with that request. Please try again.