diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2019-09-27 15:12:57 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2019-09-27 15:12:57 +0100 |
commit | d4272b28da76c2d1fe110d611ef08a445f11ceb2 (patch) | |
tree | af01f431bd39504bb2d9234c7c6a41879b95051f /setup.py |
initial commit
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..e4e8b5e --- /dev/null +++ b/setup.py @@ -0,0 +1,66 @@ +#!/usr/bin/env python + +import os + +from setuptools import find_packages, setup + +import datamaps + + +def read(*names): + values = dict() + extensions = ['.txt', '.rst'] + for name in names: + value = '' + for extension in extensions: + filename = name + extension + if os.path.isfile(filename): + value = open(name + extension).read() + break + values[name] = value + return values + + +long_description = """ +%(README)s + +News +==== + +%(CHANGES)s + +""" % read('README', 'CHANGES') + +setup( + name='datamaps', + version=datamaps.__version__, + description='Collect and clean data using Excel spreadsheets.', + long_description=long_description, + classifiers=[ + "Development Status :: 3 - Alpha", + "Environment :: Console", + "Intended Audience :: Other Audience", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Topic :: Text Processing", + ], + keywords='data console commandline excel', + author='Matthew Lemon', + author_email='matt@matthewlemon.com', + maintainer='Matthew Lemon', + maintainer_email='matt@matthewlemon.com', + url='https://github.com/hammerheadlemon/datamaps', + packages=find_packages(), + python_requires='>=3.6', + entry_points={'console_scripts': [ + 'datamaps = datamaps.main:cli' + ]}, + setup_requires=['wheel'], + install_requires=[ + 'click', + 'colorlog', + 'python-dateutil', + 'bcompiler-engine @ https://github.com/hammerheadlemon/bcompiler-engine/archive/master.zip#egg=bcompiler-engine' + ], + test_suite='datamaps.tests') |