File: setup.py

package info (click to toggle)
chrome-gnome-shell 10.1-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 1,440 kB
  • sloc: python: 444; sh: 18; makefile: 11
file content (21 lines) | stat: -rwxr-xr-x 621 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
#!/usr/bin/env python

import os
import shutil
from distutils.core import setup

SCRIPT_DIR = os.path.dirname(os.path.realpath(__file__))
BUILD_DIR = SCRIPT_DIR + '/../build'
SCRIPT_PATH = BUILD_DIR + '/chrome-gnome-shell'

if not os.path.exists(BUILD_DIR):
    os.makedirs(BUILD_DIR)
shutil.copyfile(SCRIPT_DIR + '/chrome-gnome-shell.py', SCRIPT_PATH)

setup(
    name='chrome-gnome-shell',
    description='Provides integration with GNOME Shell extensions repository for Chrome browser',
    author='Yuri Konotopov',
    url='https://wiki.gnome.org/Projects/GnomeShellIntegrationForChrome',
    scripts=[SCRIPT_PATH]
)