Files
Dataframe-to-Autofit-XLSX/setup.py
Brennen Raimer 0930c01f19 first REAL commit
2019-09-12 22:01:17 -04:00

20 lines
778 B
Python

setup_args={
'name':'dataframe to autosize excel',
'version':'1.0',
'description':'Output pandas DataFrames into Excel Xlsx files with autofitted columns',
'author':'Brennen Raimer',
'url':'https://github.com/norweeg'
}
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
setup_args['packages'] = ["dataframe_to_autosize_excel"]
else:
setup_args['packages'] = find_packages(exclude = ['contrib', 'docs', 'tests','reports','examples'])
setup_args['project_urls'] = {'Source':'https://github.com/norweeg/DataFrame-to-Autofit-Xlsx'}
setup_args['install_requires'] = ['pandas', 'xlsxwriter']
setup_args['zip_safe'] = False
finally:
setup(**setup_args)