forked from cournape/talkbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
47 lines (37 loc) · 1.33 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
#! /usr/bin/env python
# Last Change: Thu Mar 26 06:00 PM 2009 J
# Copyright (C) 2008 Cournapeau David <[email protected]>
import os
import sys
import setuptools
from numpy.distutils.core import setup
from common import *
def configuration(parent_package='', top_path=None, package_name=DISTNAME):
if os.path.exists('MANIFEST'): os.remove('MANIFEST')
from numpy.distutils.misc_util import Configuration
config = Configuration(None, parent_package, top_path,
namespace_packages = ['scikits'])
config.set_options(
ignore_setup_xxx_py=True,
assume_default_configuration=True,
delegate_options_to_subpackages=True,
quiet=True,
)
config.add_subpackage('scikits')
config.add_subpackage(DISTNAME)
config.add_data_files('scikits/__init__.py')
return config
if __name__ == "__main__":
setup(configuration = configuration,
install_requires = 'numpy',
packages = setuptools.find_packages(),
include_package_data = True,
name = DISTNAME,
version = VERSION,
description = DESCRIPTION,
long_description = LONG_DESCRIPTION,
license = LICENSE,
#test_suite="tester", # for python setup.py test
zip_safe = False, # because of tests
classifiers = CLASSIFIERS,
)