Permalink
Browse files

Initial directory structure

  • Loading branch information...
0 parents commit 9934c19424320ed1ee8ae1f1b7395d9003324116 almad committed Feb 28, 2009
Showing with 89 additions and 0 deletions.
  1. +11 −0 .hgignore
  2. +10 −0 LICENSE
  3. +4 −0 qczechtile/__init__.py
  4. +64 −0 setup.py
@@ -0,0 +1,11 @@
+syntax: glob
+*.pyc
+babel*
+*.conf
+*.swp
+.project
+.pydevproject
+build
+
+*~
+*.orig
10 LICENSE
@@ -0,0 +1,10 @@
+Copyright (c) 2009, Lukas "Almad" Linhart and contributors
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+ * Neither the name of the Lukas Linhart nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,4 @@
+VERSION = (0, 0, 1)
+
+__version__ = VERSION
+__versionstr__ = '.'.join(map(str, VERSION))
@@ -0,0 +1,64 @@
+from setuptools import setup
+from distutils.command.install import INSTALL_SCHEMES
+import sys
+import sneakylang
+
+required_python_version = '2.5'
+
+###############################################################################
+# arguments for the setup command
+###############################################################################
+name = "QCzechtile"
+version = qczechtile.__versionstr__
+desc = ""
+long_desc = """"""
+classifiers=[
+ "Development Status :: 3 - Alpha",
+ "License :: OSI Approved :: BSD"
+ "Operating System :: OS Independent",
+ "Programming Language :: Python",
+ "Topic :: Text Processing",
+ "Topic :: Text Processing :: Markup :: HTML",
+ "Topic :: Text Processing :: Markup :: XML"
+]
+author="Lukas Almad Linhart"
+author_email="bugs@almad.net"
+url="http://projects.almad.net/python-czechtile"
+cp_license="BSD"
+packages=[
+ "qczechtile"
+]
+#download_url="http://www.almad.net/download/sneakylang/sneakylang-"+version+".tar.gz"
+data_files=[]
+###############################################################################
+# end arguments for setup
+###############################################################################
+
+def main():
+ if sys.version < required_python_version:
+ s = "I'm sorry, but %s %s requires Python %s or later."
+ print s % (name, version, required_python_version)
+ sys.exit(1)
+
+ # set default location for "data_files" to platform specific "site-packages"
+ # location
+ for scheme in INSTALL_SCHEMES.values():
+ scheme['data'] = scheme['purelib']
+
+ setup(
+ name=name,
+ version=version,
+ description=desc,
+ long_description=long_desc,
+ classifiers=classifiers,
+ author=author,
+ author_email=author_email,
+ url=url,
+ license=cp_license,
+ packages=packages,
+ download_url=download_url,
+ data_files=data_files,
+ )
+
+if __name__ == "__main__":
+ main()

0 comments on commit 9934c19

Please sign in to comment.