Permalink
Browse files

setuptools

  • Loading branch information...
1 parent 372e884 commit 3e3f29dcf7fde0581adc0c1ce59e2badaad7651a @holizz committed Dec 7, 2010
Showing with 33 additions and 0 deletions.
  1. +3 −0 .gitignore
  2. +5 −0 LICENSE
  3. +1 −0 MANIFEST.in
  4. +1 −0 VERSION
  5. +23 −0 setup.py
View
@@ -1 +1,4 @@
+build/
+dist/
+MANIFEST
*.pyc
View
@@ -0,0 +1,5 @@
+Copyright © 2010, Tom Adams
+
+Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
View
@@ -0,0 +1 @@
+include VERSION
View
@@ -0,0 +1 @@
+0.1.0
View
@@ -0,0 +1,23 @@
+import distutils.core
+import os
+
+distutils.core.setup(
+ name = 'hotpotato',
+ version = open(os.path.join(os.path.dirname(__file__),'VERSION')).read().strip(),
+ description = 'Python to PHP compiler',
+ author = 'Tom Adams',
+ author_email = 'tom@holizz.com',
+ url = 'http://github.com/holizz/hotpotato',
+ license = 'ISC',
+
+ classifiers = [
+ 'Intended Audience :: Developers',
+ 'License :: OSI Approved :: ISC License (ISCL)',
+ 'Programming Language :: PHP',
+ 'Programming Language :: Python',
+ 'Topic :: Software Development :: Compilers',
+ ],
+
+ packages = ['hotpotato', 'hotpotato.profile'],
+ scripts = ['bin/pyhp']
+ )

0 comments on commit 3e3f29d

Please sign in to comment.