-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
41 lines (40 loc) · 1.27 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
# needs to be tested
from __future__ import print_function
import sys
if len(sys.argv)>1 and sys.argv[1] == 'develop':
# Only import setuptools if we have to
import site
from os.path import dirname, abspath, join
site_packages = site.getsitepackages()[0]
fname = join(site_packages, "kitchensink.pth")
path = abspath(dirname(__file__))
with open(fname, "w+") as f:
f.write(path)
print("develop mode, wrote path (%s) to (%s)" % (path, fname))
sys.exit()
from distutils.core import setup
import os
import sys
__version__ = (0, 2)
setup(
name = 'kitchensinkRPC',
version = '.'.join([str(x) for x in __version__]),
packages = ['kitchensink',
'kitchensink.admin',
'kitchensink.api',
'kitchensink.clients',
'kitchensink.data',
'kitchensink.rpc',
'kitchensink.scripts',
'kitchensink.serialization',
'kitchensink.taskqueue',
'kitchensink.testutils',
'kitchensink.utils',
],
url = 'http://github.com/hhuuggoo/kitchensink',
description = 'Kitchen Sink',
zip_safe=False,
author='Hugo Shi',
author_email='hugo.r.shi@gmail.com',
license = 'New BSD',
)