diff --git a/.gitignore b/.gitignore index 468493ac03..8ea3f2ffd0 100644 --- a/.gitignore +++ b/.gitignore @@ -13,4 +13,8 @@ Cql.tokens .kdev4 *.kdev4 CMakeLists.txt.user +.cache +.tox +*.egg-info +__pycache__CMakeLists.txt.user .gdbinit diff --git a/setup.py b/setup.py new file mode 100644 index 0000000000..7e1885febc --- /dev/null +++ b/setup.py @@ -0,0 +1,12 @@ +from setuptools import find_packages, setup + +setup( + name="scylla", + description='NoSQL data store using the seastar framework, compatible with Apache Cassandra', + url='https://github.com/scylladb/scylla', + download_url='https://github.com/scylladb/scylla/tags', + license='AGPL', + platforms='any', + packages=find_packages(), + include_package_data=True, + install_requires=[]) diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000000..36dfb0d830 --- /dev/null +++ b/tox.ini @@ -0,0 +1,20 @@ +[tox] +usedevelop=True +skipdist=True + +[testenv] +deps = + pytest + pytest-flake8 + +commands = + pytest --flake8 -k 'not tests' + +[flake8] +max-line-length = 120 +exclude = .ropeproject,.tox,tests +show-source = False + +[pytest] +flake8-ignore = + E501