-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
59 lines (52 loc) · 1.82 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
from os import path
from setuptools import setup, find_packages
requirements = [
"Click>=7.0",
"click-log>=0.3.2"
]
setup_requirements = ['pytest-runner', 'callable_pip']
test_requirements = ['pytest', 'tox', 'flake8', 'coverage', 'coveralls']
# read the contents of your README file
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md')) as f:
long_description = f.read()
setup(
author="Andrew Beveridge",
author_email='andrew@beveridge.uk',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
description="Run MySQL migration scripts sequentially from a specified "
"directory, keeping track of current version in the database.",
entry_points={
'console_scripts': [
'migration_runner=migration_runner.cli:main',
],
},
install_requires=requirements,
license="MIT license",
long_description=long_description,
long_description_content_type='text/markdown',
include_package_data=True,
keywords='migration_runner',
name='migration_runner',
packages=find_packages(include=['migration_runner']),
setup_requires=setup_requirements,
test_suite='tests',
tests_require=test_requirements,
url='https://github.com/beveradb/migration_runner',
version='0.3.4',
zip_safe=False,
)