-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
37 lines (32 loc) · 1.01 KB
/
setup.py
File metadata and controls
37 lines (32 loc) · 1.01 KB
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
from setuptools import setup, find_packages
name = "hbrep"
version = "0.1"
description = "Postgresql to HBase replication tool."
maintainer = "Tim Sell"
executable = False # requires lfm.name.main()
requires = ["skytools",'thrift','PyYaml'] # can be left empty
###########################################
# probably no need to edit anything below #
###########################################
kwargs = {
"name": "lfm." + name,
"version": version,
"description": description,
"maintainer": maintainer,
"long_description": open("README.txt").read(),
"packages": find_packages(exclude=["tests", "tests.*"]),
"namespace_packages": ["lfm"],
"install_requires": requires,
"test_suite": "nose.collector",
"tests_require": ["nose"]
}
if executable:
kwargs["entry_points"] = {
"console_scripts": [
"lfm." + name + " = lfm." + name + ":main",
],
"setuptools.installation": [
"eggsecutable = lfm." + name + ":main",
]
}
setup(**kwargs)