forked from pydata/patsy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
41 lines (36 loc) · 1.35 KB
/
setup.py
File metadata and controls
41 lines (36 loc) · 1.35 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
#!/usr/bin/env python
import sys
from setuptools import setup
DESC = """A Python package for describing statistical models and for
building design matrices."""
LONG_DESC = (DESC + "\n"
"It is closely inspired by and compatible with the 'formula'\n"
"mini-language used in `R <http://www.r-project.org/>`_ and\n"
"`S <https://secure.wikimedia.org/wikipedia/en/wiki/S_programming_language>`_.")
# Compatibility code for handling both setuptools and distribute on Python 3,
# as suggested here: http://packages.python.org/distribute/python3.html
extra = {}
if sys.version_info >= (3,):
extra["use_2to3"] = True
setup(
name="patsy",
version="0.1.0+dev",
description=DESC,
long_description=LONG_DESC,
author="Nathaniel J. Smith",
author_email="njs@pobox.com",
license="2-clause BSD",
packages=["patsy"],
url="https://github.com/pydata/patsy",
install_requires=["numpy"],
classifiers =
[ "Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: Financial and Insurance Industry",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
],
**extra)