-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
59 lines (52 loc) · 1.9 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#!/usr/bin/env python
import os.path
from setuptools import setup, find_packages
def auto_version_setup(**kwargs):
pkg_name = kwargs["packages"][0]
# Populate the "version" argument from the "VERSION" file.
pkg_path = os.path.join(os.path.dirname(__file__), pkg_name)
with open(os.path.join(pkg_path, "VERSION"), "r") as handle:
pkg_version = handle.read().strip()
kwargs["version"] = pkg_version
# Make sure the "VERSION" file is included when we build the package.
package_data = kwargs.setdefault("package_data", {})
this_pkg_data = package_data.setdefault(pkg_name, [])
if "VERSION" not in this_pkg_data:
this_pkg_data.append("VERSION")
setup(**kwargs)
auto_version_setup(
name="ruruki",
author="Jenda Mudron",
author_email="[email protected]",
maintainer="Jenda Mudron",
maintainer_email="[email protected]",
url="https://github.com/optiver/ruruki",
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 2 :: Only",
"Topic :: Database :: Database Engines/Servers",
"Topic :: Software Development :: Libraries",
],
keywords=(
"graph db momory database in-memory snail extraction tool "
"POC proof concept temporary lightweight"
),
description=(
"Ruruki is a lightweight in-memory graph database which is ideal "
"if you need a temporary graph database, or just doing a proof of "
"concept and need a fast and reliable graph database."
),
packages=find_packages(),
package_data={
"ruruki": [
"VERSION",
],
},
install_requires=[
"Parsley==1.3"
],
)