-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
35 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,3 +49,4 @@ | |
import pyutils_sh.stats | ||
import pyutils_sh.survey | ||
import pyutils_sh.utils | ||
from .version import __version__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__version__ = '1.5.1' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,36 @@ | ||
from setuptools import setup, find_packages | ||
|
||
|
||
def get_version(): | ||
version_file = open('VERSION') | ||
return version_file.read().strip() | ||
from distutils.util import convert_path | ||
|
||
|
||
def readme(): | ||
with open('README.rst') as f: | ||
with open("README.rst") as f: | ||
return f.read() | ||
|
||
|
||
setup(name='pyutils_sh', | ||
version=get_version(), | ||
description='Assortment of Python utilities for my personal projects', | ||
long_description=readme(), | ||
url='https://github.com/sho-87/pyutils_sh', | ||
author='Simon Ho', | ||
author_email='simonho213@gmail.com', | ||
license='MIT', | ||
packages=find_packages(), | ||
python_requires='>=3', | ||
install_requires=['numpy', 'pandas', 'matplotlib'], | ||
classifiers=[ | ||
'Development Status :: 5 - Production/Stable', | ||
'Intended Audience :: Science/Research', | ||
'License :: OSI Approved :: MIT License', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python :: 3', | ||
'Topic :: Scientific/Engineering', | ||
], | ||
keywords='python utilities survey exam gaze spss data research statistics', | ||
zip_safe=True) | ||
meta = {} | ||
with open(convert_path("pyutils_sh/version.py")) as f: | ||
exec(f.read(), meta) | ||
|
||
setup( | ||
name="pyutils_sh", | ||
version=meta["__version__"], | ||
description="Assortment of Python utilities for my personal projects", | ||
long_description=readme(), | ||
url="https://github.com/sho-87/pyutils_sh", | ||
author="Simon Ho", | ||
author_email="simonho213@gmail.com", | ||
license="MIT", | ||
packages=find_packages(), | ||
python_requires=">=3", | ||
install_requires=["numpy", "pandas", "matplotlib"], | ||
classifiers=[ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3", | ||
"Topic :: Scientific/Engineering", | ||
], | ||
keywords="python utilities survey exam gaze spss data research statistics", | ||
zip_safe=True, | ||
) |