-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
27 lines (24 loc) · 978 Bytes
/
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
import setuptools
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
def get_version():
with open("statwrap/__init__.py", "r") as f:
for line in f:
if line.startswith("__version__"):
return eval(line.split("=")[-1].strip())
setuptools.setup(
name='StatWrap',
version=get_version(),
description='A package for people new to statistics and Python.',
long_description=long_description, # This is the new line
long_description_content_type="text/markdown", # This is the new line
url='https://github.com/alexanderthclark/statwrap',
project_urls={
'Documentation': 'https://statwrap.readthedocs.io/'
},
author='Alexander Clark',
install_requires=['pandas','numpy','scipy', 'IPython', 'matplotlib', 'ipywidgets==7.7.1', 'odfpy', 'openpyxl'],
author_email='', # consider adding your email
packages=setuptools.find_packages(),
zip_safe=False,
)