Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
executable file 85 lines (80 sloc) 4.01 KB
#!/usr/bin/env python3
# -*- encoding: utf-8 -*-
import sys
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = ['tests/']
self.test_suite = True
def run_tests(self):
# import here, cause outside the eggs aren't loaded
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
setup(name='pkgbuilder',
version='4.2.9',
description='An AUR helper (and library) in Python 3.',
keywords='arch pkgbuild',
author='Chris Warrick',
author_email='chris@chriswarrick.com',
url='https://github.com/Kwpolska/pkgbuilder',
license='3-clause BSD',
long_description=open('./docs/README.rst', 'r', encoding='utf-8').read(),
platforms='Arch Linux',
zip_safe=False,
include_package_data=True,
cmdclass={'test': PyTest},
classifiers=['Development Status :: 6 - Mature',
'Environment :: Console',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Topic :: System',
'Topic :: System :: Archiving :: Packaging',
'Topic :: Utilities'],
packages=['pkgbuilder'],
install_requires=['pyalpm', 'requests', 'srcinfo'],
data_files=[('share/man/man8', ['docs/pkgbuilder.8.gz']),
('share/man/man8', ['docs/pb.8.gz']),
('share/locale/pl/LC_MESSAGES', ['locale/pl/LC_MESSAGES/'
'pkgbuilder.mo']),
('share/locale/ar/LC_MESSAGES', ['locale/ar/LC_MESSAGES/'
'pkgbuilder.mo']),
('share/locale/cs/LC_MESSAGES', ['locale/cs/LC_MESSAGES/'
'pkgbuilder.mo']),
('share/locale/de/LC_MESSAGES', ['locale/de/LC_MESSAGES/'
'pkgbuilder.mo']),
('share/locale/es/LC_MESSAGES', ['locale/es/LC_MESSAGES/'
'pkgbuilder.mo']),
('share/locale/id/LC_MESSAGES', ['locale/id/LC_MESSAGES/'
'pkgbuilder.mo']),
('share/locale/it/LC_MESSAGES', ['locale/it/LC_MESSAGES/'
'pkgbuilder.mo']),
('share/locale/ja/LC_MESSAGES', ['locale/ja/LC_MESSAGES/'
'pkgbuilder.mo']),
('share/locale/pt/LC_MESSAGES', ['locale/pt/LC_MESSAGES/'
'pkgbuilder.mo']),
#('share/locale/pt_BR/LC_MESSAGES',
#['locale/pt_BR/LC_MESSAGES/pkgbuilder.mo']),
('share/locale/sk/LC_MESSAGES', ['locale/sk/LC_MESSAGES/'
'pkgbuilder.mo']),
('share/locale/sv/LC_MESSAGES', ['locale/sv/LC_MESSAGES/'
'pkgbuilder.mo']),
('share/locale/tr/LC_MESSAGES', ['locale/tr/LC_MESSAGES/'
'pkgbuilder.mo']),
('share/locale/vi/LC_MESSAGES', ['locale/vi/LC_MESSAGES/'
'pkgbuilder.mo'])],
entry_points={
'console_scripts': [
'pkgbuilder = pkgbuilder.__main__:main',
'pb = pkgbuilder.wrapper:main'
]
},
)
Something went wrong with that request. Please try again.