|
2 | 2 | # -*- coding: utf-8 -*- |
3 | 3 | import sys, os, re |
4 | 4 | from os.path import dirname, abspath, join |
5 | | -from setuptools import setup |
| 5 | +from setuptools import setup, find_packages |
6 | 6 |
|
7 | 7 |
|
8 | 8 | HERE = abspath(dirname(__file__)) |
9 | 9 | readme = open(join(HERE, 'README.rst')).read() |
10 | 10 |
|
11 | | -package_file = open(join(HERE, 'bunch/__init__.py'), 'rU') |
| 11 | +package_file = open(join(HERE, 'infi', 'bunch', '__init__.py'), 'rU') |
12 | 12 | __version__ = re.sub( |
13 | 13 | r".*\b__version__\s+=\s+'([^']+)'.*", |
14 | 14 | r'\1', |
|
17 | 17 |
|
18 | 18 |
|
19 | 19 | setup( |
20 | | - name = "bunch", |
| 20 | + name = "infi.bunch", |
21 | 21 | version = __version__, |
22 | 22 | description = "A dot-accessible dictionary (a la JavaScript objects)", |
23 | 23 | long_description = readme, |
24 | | - url = "http://github.com/dsc/bunch", |
| 24 | + url = "http://github.com/Infinidat/infi.bunch", |
25 | 25 |
|
26 | | - author = "David Schoonover", |
27 | | - author_email = "[email protected]", |
28 | | - |
29 | | - packages = ['bunch',], |
| 26 | + author = "Rotem Yaari", |
| 27 | + author_email = "[email protected]", |
30 | 28 |
|
| 29 | + packages = find_packages(exclude=["tests"]), |
| 30 | + namespace_packages = ["infi"], |
31 | 31 | keywords = ['bunch', 'dict', 'mapping', 'container', 'collection'], |
32 | 32 | classifiers = [ |
33 | 33 | 'Development Status :: 5 - Production/Stable', |
|
42 | 42 | 'Topic :: Utilities', |
43 | 43 | 'License :: OSI Approved :: MIT License', |
44 | 44 | ], |
45 | | - # download_url = "http://pypi.python.org/packages/source/b/bunch/bunch-%s.tar.gz" % __version__, |
46 | 45 | license = 'MIT', |
47 | 46 | ) |
0 commit comments