-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
40 lines (34 loc) · 1.01 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
import os
from setuptools import setup
from distutils import sysconfig
site_packages_path = sysconfig.get_python_lib()
data_files = [(site_packages_path, ["conf/upseto.pth"])]
# add in case we are running as root
if os.geteuid() == 0:
data_files += [
('/etc/bash_completion.d', ['conf/bash_completion.d/upseto.sh']),
]
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="upseto",
version="1.2.5",
author="Shlomo Matichin",
author_email="[email protected]",
description=(
"Split your projects across git repos without the disatvantages"
" of git submodule"),
keywords="git repos repositories python scm",
url="http://packages.python.org/upseto",
packages=['upseto'],
long_description=read('README.md'),
classifiers=[
"Development Status :: 4 - Beta",
"Topic :: Utilities",
],
install_requires=[
"PyYAML>=3.11"
],
data_files=data_files,
scripts=['sh/upseto'],
)