-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
48 lines (42 loc) · 1.83 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
import setuptools
with open('README.md') as f:
long_description = f.read()
# Read the version number from banksync.py so we only need to specify it in a single place
version = "unknown"
with open('banksync/banksync.py') as f:
for line in f:
if line.startswith('__version__'):
_, _, version = line.replace("\"", '').replace("'", '').split()
break
setuptools.setup(
name = 'banksync',
packages = setuptools.find_packages(),
version = version,
description = 'A library for manipulating banks of git repositories',
long_description = long_description,
long_description_content_type='text/markdown', # This is important!
author = 'Jason Harris',
author_email = '[email protected]',
license='MIT',
url = 'https://github.com/jasonfharris/banksync',
download_url = 'https://github.com/jasonfharris/banksync/tarball/'+version,
keywords = ['execute', 'shell', 'system', 'git', 'submodule'],
classifiers=[
'Development Status :: 4 - Beta',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development',
'Topic :: Software Development :: Version Control',
'Topic :: Utilities',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.7'
],
install_requires = ['argparse', 'argcomplete', 'sysexecute>=1.1.6', 'configparser'],
scripts = ['bin/bank', 'bin/banksync']
)