File: setup.py

package info (click to toggle)
grokmirror 1.0.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 296 kB
  • sloc: python: 1,792; sh: 24; makefile: 4
file content (34 lines) | stat: -rw-r--r-- 1,028 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/python -tt

import os
from setuptools import setup

# Utility function to read the README file.
# Used for the long_description.  It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

VERSION='1.0.0'
NAME='grokmirror'

setup(
    version=VERSION,
    url='https://www.kernel.org/pub/software/network/grokmirror',
    name=NAME,
    description='Smartly mirror git repositories that use grokmirror',
    author='Konstantin Ryabitsev',
    author_email='mricon@kernel.org',
    packages=[NAME],
    license='GPLv3+',
    long_description=read('README.rst'),
    entry_points={
        'console_scripts': [
            "grok-dumb-pull=grokmirror.dumb_pull:command",
            "grok-pull=grokmirror.pull:command",
            "grok-fsck=grokmirror.fsck:command",
            "grok-manifest=grokmirror.manifest:command",
        ]
    }
)