added all project files

This commit is contained in:
Itai Shirav 2016-06-23 14:05:07 +03:00
parent a4dcc92a0e
commit 2f99d58a61
6 changed files with 178 additions and 0 deletions

59
.gitignore vendored Normal file
View File

@ -0,0 +1,59 @@
# generic
*.tmp
*.swp
*.pyc
*.pyo
*.bak
*.egg-info
*.EGG-INFO
.coverage
.settings
# eclipse
.project
.pydevproject
# setuptools
bin/
build/
dist/
setup.py
# buildout
buildout.in.cfg
.installed*.cfg
.cache
.cache/
eggs
eggs/
develop-eggs/
parts
parts/
build/
dist/
src/infi/hello/__version__.py
.achievements
# scm
.bzr/
.svn/
.hg/
# msi-related
parts/wix
parts/product*
parts/*.wixpdb
parts/*.msi
src/infi/projector/__version__.py
.codeintel
*sublime*
tmp*
!tmp*py
buildout.in
src/infi/clickhouse_utils/__version__.py
bootstrap.py

15
README.md Normal file
View File

@ -0,0 +1,15 @@
Overview
========
This is an Infinidat project.
Usage
-----
Nothing to use here.
Checking out the code
=====================
Run the following commands:
easy_install -U infi.projector
projector devenv build

54
buildout.cfg Normal file
View File

@ -0,0 +1,54 @@
[buildout]
prefer-final = false
newest = false
download-cache = .cache
develop = .
parts =
[project]
name = infi.clickhouse_utils
company = Infinidat
namespace_packages = ['infi']
install_requires = ['setuptools']
version_file = src/infi/clickhouse_utils/__version__.py
description = A Python library for working with the ClickHouse database
long_description = A Python library for working with the ClickHouse database
console_scripts = []
gui_scripts = []
package_data = []
upgrade_code = {58530fba-3932-11e6-a20e-7071bc32067f}
product_name = infi.clickhouse_utils
post_install_script_name = None
pre_uninstall_script_name = None
[isolated-python]
recipe = infi.recipe.python
version = v2.7.8.4
[setup.py]
recipe = infi.recipe.template.version
input = setup.in
output = setup.py
[__version__.py]
recipe = infi.recipe.template.version
output = ${project:version_file}
[development-scripts]
dependent-scripts = true
recipe = infi.recipe.console_scripts
eggs = ${project:name}
ipython
nose
infi.unittest
infi.traceback
zc.buildout
interpreter = python
[pack]
recipe = infi.recipe.application_packager
[sublime]
recipe = corneti.recipes.codeintel
eggs = ${development-scripts:eggs}

48
setup.in Normal file
View File

@ -0,0 +1,48 @@
SETUP_INFO = dict(
name = '${project:name}',
version = '${infi.recipe.template.version:version}',
author = '${infi.recipe.template.version:author}',
author_email = '${infi.recipe.template.version:author_email}',
url = ${infi.recipe.template.version:homepage},
license = 'PSF',
description = """${project:description}""",
long_description = """${project:long_description}""",
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Python Software Foundation License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
],
install_requires = ${project:install_requires},
namespace_packages = ${project:namespace_packages},
package_dir = {'': 'src'},
package_data = {'': ${project:package_data}},
include_package_data = True,
zip_safe = False,
entry_points = dict(
console_scripts = ${project:console_scripts},
gui_scripts = ${project:gui_scripts},
),
)
if SETUP_INFO['url'] is None:
_ = SETUP_INFO.pop('url')
def setup():
from setuptools import setup as _setup
from setuptools import find_packages
SETUP_INFO['packages'] = find_packages('src')
_setup(**SETUP_INFO)
if __name__ == '__main__':
setup()

1
src/infi/__init__.py Normal file
View File

@ -0,0 +1 @@
__import__("pkg_resources").declare_namespace(__name__)

View File

@ -0,0 +1 @@
__import__("pkg_resources").declare_namespace(__name__)