forked from wosc/git-persona
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
43 lines (34 loc) · 997 Bytes
/
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
"""Provides an easy way to configure git username on a per repository basis.
"""
from setuptools import setup, find_packages
import glob
import os.path
def project_path(*names):
return os.path.join(os.path.dirname(__file__), *names)
setup(
name='ws.gitpersona',
version='1.1.dev0',
install_requires=[
'setuptools',
],
entry_points={
'console_scripts': [
'git-persona = ws.gitpersona.persona:main'
],
},
author='Wolfgang Schnerring <[email protected]>',
author_email='[email protected]',
license='BSD',
url='https://github.com/wosc/git-persona/',
description=__doc__.strip(),
long_description='\n\n'.join(open(project_path(name)).read() for name in (
'README.txt',
'CHANGES.txt',
)),
namespace_packages=['ws'],
packages=find_packages('src'),
package_dir={'': 'src'},
# include_package_data=True,
data_files=[('', glob.glob(project_path('*.txt')))],
zip_safe=False,
)