nyaggle/setup.py

58 lines
1.4 KiB
Python
Raw Normal View History

2019-12-24 07:21:44 +08:00
from setuptools import setup
from codecs import open
from os import path
def get_long_description():
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
return long_description
2020-01-13 22:47:45 +08:00
2019-12-24 07:21:44 +08:00
def get_version():
version_filepath = path.join(path.dirname(__file__), 'nyaggle', 'version.py')
with open(version_filepath) as f:
for line in f:
if line.startswith('__version__'):
return line.strip().split()[-1][1:-1]
2020-01-13 22:47:45 +08:00
2019-12-24 07:21:44 +08:00
setup(
name='nyaggle',
packages=['nyaggle'],
version=get_version(),
license='BSD 3-Clause',
install_requires=[
2020-01-02 21:40:19 +08:00
'catboost>=0.17',
2019-12-24 07:21:44 +08:00
'category_encoders',
2019-12-25 22:37:40 +08:00
'lightgbm',
2019-12-29 07:57:09 +08:00
'matplotlib',
2019-12-31 11:10:02 +08:00
'more-itertools',
2019-12-24 07:21:44 +08:00
'numpy',
2020-01-21 23:13:52 +08:00
'optuna>=1.0.0',
2019-12-24 07:21:44 +08:00
'pandas',
2019-12-29 07:57:09 +08:00
'seaborn',
2019-12-24 07:21:44 +08:00
'sklearn',
'tqdm',
'transformers>=2.3.0'
],
author='nyanp',
author_email='Noumi.Taiga@gmail.com',
url='https://github.com/nyanp/nyaggle',
description='Code for Kaggle and Offline Competitions.',
long_description=get_long_description(),
long_description_content_type='text/markdown',
keywords='nyaggle kaggle',
classifiers=[
'License :: OSI Approved :: BSD License',
2019-12-28 16:24:33 +08:00
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
2019-12-31 13:47:19 +08:00
'Programming Language :: Python :: 3.7'
2020-01-13 22:47:45 +08:00
]
2020-01-02 21:40:19 +08:00
)