forked from prjemian/punx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
69 lines (62 loc) · 2.08 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#-----------------------------------------------------------------------------
# :author: Pete R. Jemian
# :email: [email protected]
# :copyright: (c) 2016, Pete R. Jemian
#
# Distributed under the terms of the Creative Commons Attribution 4.0 International Public License.
#
# The full license is in the file LICENSE, distributed with this software.
#-----------------------------------------------------------------------------
from setuptools import setup, find_packages
import os
import re
import sys
import versioneer
# pull in some definitions from the package's __init__.py file
sys.path.insert(0, os.path.join('src', ))
import punx
verbose=1
README = os.path.join(os.path.dirname(__file__), 'README.rst')
long_description = open(README, 'r').read()
setup (
name = punx.__package_name__, # punx
license = punx.__license__,
version = versioneer.get_version(),
cmdclass = versioneer.get_cmdclass(),
description = punx.__description__,
long_description = long_description,
author = punx.__author_name__,
author_email = punx.__author_email__,
url = punx.__url__,
#download_url = punx.__download_url__,
keywords = punx.__keywords__,
platforms = 'any',
install_requires = punx.__install_requires__,
package_dir = {'': 'src'},
packages = ['punx', 'punx/validations', ],
#packages=find_packages(),
package_data = {
'punx': [
'cache/*.p',
'cache/*.ini',
'cache/*.zip',
'cache/*/*.json',
'cache/*/*.xsd',
'cache/*/*/*.xml',
'cache/*/*/*.xsl',
'data/writer_*.hdf5',
'LICENSE.txt',
],
},
classifiers = punx.__classifiers__,
entry_points = {
# create & install scripts in <python>/bin
'console_scripts': [
'punx=punx.main:main',
],
#'gui_scripts': [],
},
test_suite = "tests",
)