-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
46 lines (38 loc) · 1.53 KB
/
Copy pathsetup.py
File metadata and controls
46 lines (38 loc) · 1.53 KB
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
#!/usr/bin/env python
"""Setup script for packaging openpyxl.
Requires setuptools.
To build the setuptools egg use
python setup.py bdist_egg
and either upload it to the PyPI with:
python setup.py upload
or upload to your own server and register the release with PyPI:
python setup.py register
A source distribution (.zip) can be built with
python setup.py sdist --format=zip
That uses the manifest.in file for data files rather than searching for
them here.
"""
from setuptools import setup, Extension, find_packages
import openpyxl # to fetch __version__ etc
setup(name = 'openpyxl',
packages = find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
# metadata
version = openpyxl.__version__,
description = "A Python library to read/write Excel 2007 xlsx/xlsm files",
long_description = 'openpyxl is a pure python reader and writer of '
'Excel OpenXML files. It is ported from the PHPExcel project',
author = openpyxl.__author__,
author_email = openpyxl.__author_email__,
url = openpyxl.__url__,
license = openpyxl.__license__,
download_url = openpyxl.__downloadUrl__,
test_suite = 'nose.collector',
tests_require = ['nose'],
classifiers = ['Development Status :: 4 - Beta',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3'],
)