46d17efd6c
shell mode doesn't print anything, need to fix :)
26 lines
835 B
Python
26 lines
835 B
Python
#!/usr/bin/env python
|
|
|
|
from setuptools import setup
|
|
import os
|
|
from timmy.env import project_name, version
|
|
|
|
pname = project_name
|
|
dtm = os.path.join(os.path.abspath(os.sep), 'usr', 'share', pname)
|
|
rqfiles = [(os.path.join(dtm, root), [os.path.join(root, f) for f in files])
|
|
for root, dirs, files in os.walk('rq')]
|
|
rqfiles.append((os.path.join(dtm, 'configs'), ['config.yaml', 'rq.yaml']))
|
|
|
|
setup(name=pname,
|
|
version=version,
|
|
author="Aleksandr Dobdin",
|
|
author_email='dobdin@gmail.com',
|
|
license='Apache2',
|
|
url='https://github.com/adobdin/timmy',
|
|
long_description=open('README.md').read(),
|
|
packages=[pname],
|
|
install_requires=['pyyaml'],
|
|
data_files=rqfiles,
|
|
include_package_data=True,
|
|
entry_points={'console_scripts': ['%s=%s.cli:main' % (pname, pname)]},
|
|
)
|