-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
45 lines (39 loc) · 1.3 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
#!/usr/bin/env python
# vim: fileencoding=utf-8 tw=100 expandtab ts=4 sw=4 :
#
# (c) 2015 ActivKonnect
import os
import codecs
from distutils.core import setup
from pip.req import parse_requirements
from pip.download import PipSession
with codecs.open(os.path.join(os.path.dirname(__file__), 'README.rst'), 'r') as readme:
README = readme.read()
requirements = parse_requirements(
os.path.join(os.path.dirname(__file__), 'requirements.txt'),
session=PipSession()
)
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='castor',
version='0.2.1',
scripts=['bin/castor'],
packages=['castor'],
package_dir={'': 'src'},
include_package_data=True,
license='WTFPL',
description='Assemble Git repos into a deployable tree of code.',
long_description=README,
url='https://github.com/ActivKonnect/castor',
author='Rémy Sanchez',
author_email='remy.sanchez@activkonnect.com',
install_requires=[str(x.req) for x in requirements],
classifiers=[
'Intended Audience :: Developers',
'License :: Other/Proprietary License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
]
)