-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
38 lines (32 loc) · 1.17 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
from setuptools import setup, find_packages
with open("README.md", "r") as fh:
long_description = fh.read()
def process_line(line):
return line.strip().split("=")[0].replace(">", "").replace("~", "")
with open("requirements.txt", "r") as fh:
install_requires = [process_line(line) for line in fh.readlines() if len(line) > 1]
setup(
name="pybbda",
version="0.4.3",
author="Ben Dilday",
author_email="ben.dilday.phd@gmail.com",
description="Baseball data and analysis in Python",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/bdilday/pybbda",
packages=find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Operating System :: OS Independent",
],
package_data={"pybbda": ["*.csv"]},
include_package_data=True,
install_requires=install_requires,
entry_points={
"console_scripts": [
"pybbda_data_update=pybbda.data.tools.update:main",
"pybbda_run_expectancy=pybbda.analysis.run_expectancy.markov.cli:main",
]
},
)