-
Notifications
You must be signed in to change notification settings - Fork 145
/
setup.py
37 lines (32 loc) · 1.03 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
import os.path
import setuptools
import svn
_APP_PATH = os.path.dirname(svn.__file__)
with open(os.path.join(_APP_PATH, 'resources', 'README.md')) as f:
long_description = f.read()
with open(os.path.join(_APP_PATH, 'resources', 'requirements.txt')) as f:
install_requires = list(map(lambda s: s.strip(), f.readlines()))
setuptools.setup(
name='svn',
version=svn.__version__,
description="Intuitive Subversion wrapper.",
long_description=long_description,
long_description_content_type='text/markdown',
classifiers=[],
keywords='svn subversion',
author='Dustin Oprea',
author_email='[email protected]',
url='https://github.com/dsoprea/PySvn',
license='GPL 2',
packages=setuptools.find_packages(exclude=['tests']),
include_package_data=True,
zip_safe=False,
package_data={
'svn': [
'resources/README.md',
'resources/requirements.txt',
'resources/requirements-testing.txt',
],
},
install_requires=install_requires,
)