-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
47 lines (43 loc) · 1.42 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
"""
properties: Fancy properties for Python.
"""
from distutils.core import setup
from setuptools import find_packages
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Scientific/Engineering :: Physics',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: Unix',
'Operating System :: MacOS',
'Natural Language :: English',
]
with open('README.rst') as f:
LONG_DESCRIPTION = ''.join(f.readlines())
EXTRAS = {
'math': ['numpy>=1.7', 'vectormath>=0.1.4'],
'image': ['pypng']
}
EXTRAS.update({'full': sum(EXTRAS.values(), [])})
setup(
name='properties',
version='0.6.1',
packages=find_packages(exclude=('tests',)),
install_requires=['six>=1.7.3'],
extras_require=EXTRAS,
author='Seequent',
author_email='[email protected]',
description=('properties: an organizational aid and wrapper for '
'validation and tab completion of class properties'),
long_description=LONG_DESCRIPTION,
keywords='declarative, properties, traits',
url='https://github.com/seequent/properties',
download_url='https://github.com/seequent/properties',
classifiers=CLASSIFIERS,
platforms=['Windows', 'Linux', 'Solaris', 'Mac OS-X', 'Unix'],
use_2to3=False,
)