blob: a49c273de7f436fa567d5d8c0d78afba67bf7edc [file] [log] [blame]
Cheng Tangc92b3ea2012-07-02 17:29:24 +08001#!/usr/bin/python
2# -*- coding: utf-8 -*-
3
4from distutils.core import setup
5import os
6
7def find_all_dist_module():
8 base_dir = 'src'
9 all_files = os.listdir(base_dir)
10 modules=[]
11 for f in all_files:
12 fname = os.path.join(base_dir,f)
13 if os.path.isfile(fname):
14 ext = f.split('.')[-1]
15 #print f.split('.')
16 if ext == 'py':
17 modules.append(f)
18
19 return modules
20
21#print find_all_dist_module()
22
23setup(
24 name = 'tcutils',
25 version = "0.2",
26 description = "Cheng Tang 's python libraries",
27 author = 'Cheng Tang',
28 author_email = 'cashtang@gmail.com',
29 platforms=['All'],
30 packages=['tcutils']
31 )