-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathsetup.py
executable file
·49 lines (40 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
48
49
#!/usr/bin/env python
'''
setup.py - Setup script to install the ColorPy package.
To install the ColorPy package:
From the directory in which the ColorPy distribution was unpacked, run:
python setup.py install
You should now be able to say 'import colorpy' in your programs and use the package.
Creating the distribution:
python setup.py sdist --formats=zip
python setup.py sdist --formats=gztar
python setup.py bdist_wininst
'''
from distutils.core import setup
data_files = [
'README.rst',
'COPYING.txt',
'COPYING.LESSER.txt',
'license.txt',
'ColorPy.html',
]
long_description = '''
ColorPy is a Python package to convert physical descriptions of light -
spectra of light intensity vs. wavelength - into RGB colors that can
be drawn on a computer screen.
It provides a nice set of attractive plots that you can make of such
spectra, and some other color related functions as well.
'''
setup (
name='colorpy',
version='0.1.1',
description='Color calculations with physical descriptions of light spectra',
long_description=long_description,
author='Mark Kness',
author_email='mkness@alumni.utexas.net',
url='http://markkness.net/colorpy/',
license='GNU Lesser GPL Version 3',
package_dir={'colorpy': '.'},
packages=['colorpy'],
package_data={'colorpy': data_files},
)