forked from drewmullen/vault-kv-migrate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
38 lines (28 loc) · 1 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
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from distutils.core import Command
class DisabledCommands(Command):
user_options = []
def initialize_options(self):
raise Exception('This command is disabled')
def finalize_options(self):
raise Exception('This command is disabled')
with open('README.md') as f:
readme = f.read()
requirements = [line.strip() for line in open("requirements.txt").readlines()]
# Version here doesnt matter much since we are not
# installing this outside of our repo or shipping
# to pypi
setup(
version='0.2.0',
name='vault-kv-migrate',
description='Sample package for Python-Guide.org',
long_description=readme,
author='Drew Mullen',
author_email='mullen.drew@gmail.com',
url='https://github.com/drewmullen/vault-kv-migrate',
packages=find_packages(exclude=('tests', 'docs')),
install_requires=requirements,
cmdclass={'register': DisabledCommands,
'upload': DisabledCommands}
)