GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — pyblp/setup.py at master · jeffgortmaker/pyblp

Expand file tree

/

setup.py

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
67 lines (61 loc) · 2.25 KB
/

setup.py

Copy path

File metadata and controls

67 lines (61 loc) · 2.25 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
"""Sets up the package."""
import re
from pathlib import Path
from setuptools import find_packages, setup
# define a function that reads a file in this directory
read = lambda p: Path(Path(__file__).resolve().parent / p).read_text()
# parse the current version
version_match = re.search(r'^__version__ = \'([^\']*)\'', read('pyblp/version.py'), re.M)
assert version_match is not None
# set up the package
setup(
name='pyblp',
packages=find_packages(),
python_requires='>=3.6',
install_requires=read('requirements.txt').splitlines(),
extras_require={
'tests': ['pytest', 'pytest-xdist', 'linearmodels', 'dill', 'pathos'],
'docs': [
'sphinx==2.0.0',
'pandas',
'ipython',
'matplotlib',
'astunparse',
'sphinx-rtd-theme==0.4.3',
'nbsphinx==0.5.0',
'jinja2~=2.11',
'docutils==0.17',
'sphinxcontrib-googleanalytics==0.4',
],
},
include_package_data=True,
description="BLP demand estimation with Python 3",
long_description=read('README.rst').split('description-start')[1].strip(),
long_description_content_type='text/x-rst',
version=version_match.group(1),
author="Jeff Gortmaker, Christopher Conlon",
author_email="[email protected]",
license="MIT",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering",
],
url="https://github.com/jeffgortmaker/pyblp",
project_urls={
"Documentation": "http://pyblp.readthedocs.io/en/latest",
"Tracker": "https://github.com/jeffgortmaker/pyblp/issues",
},
)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.