From d4272b28da76c2d1fe110d611ef08a445f11ceb2 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Fri, 27 Sep 2019 15:12:57 +0100 Subject: initial commit --- setup.py | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 setup.py (limited to 'setup.py') 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') -- cgit v1.2.3