OpenShot Video Editor  2.0.0
info.py
Go to the documentation of this file.
1 ##
2 #
3 # @file
4 # @brief This file contains the current version number of OpenShot, along with other global settings.
5 # @author Jonathan Thomas <jonathan@openshot.org>
6 #
7 # @section LICENSE
8 #
9 # Copyright (c) 2008-2016 OpenShot Studios, LLC
10 # (http://www.openshotstudios.com). This file is part of
11 # OpenShot Video Editor (http://www.openshot.org), an open-source project
12 # dedicated to delivering high quality video editing and animation solutions
13 # to the world.
14 #
15 # OpenShot Video Editor is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU General Public License as published by
17 # the Free Software Foundation, either version 3 of the License, or
18 # (at your option) any later version.
19 #
20 # OpenShot Video Editor is distributed in the hope that it will be useful,
21 # but WITHOUT ANY WARRANTY; without even the implied warranty of
22 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 # GNU General Public License for more details.
24 #
25 # You should have received a copy of the GNU General Public License
26 # along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
27 #
28 
29 import os
30 
31 VERSION = "2.1.0"
32 DATE = "20160327000000"
33 NAME = "openshot-qt"
34 PRODUCT_NAME = "OpenShot Video Editor"
35 GPL_VERSION = "3"
36 DESCRIPTION = "Create and edit videos and movies"
37 COMPANY_NAME = "OpenShot Studios, LLC"
38 COPYRIGHT = "Copyright (c) 2008-2016 %s" % COMPANY_NAME
39 CWD = os.getcwd()
40 PATH = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) # Primary openshot folder
41 HOME_PATH = os.path.join(os.path.expanduser("~"))
42 USER_PATH = os.path.join(HOME_PATH, ".openshot_qt")
43 BACKUP_PATH = os.path.join(USER_PATH, "backup")
44 BLENDER_PATH = os.path.join(USER_PATH, "blender")
45 THUMBNAIL_PATH = os.path.join(USER_PATH, "thumbnail")
46 CACHE_PATH = os.path.join(USER_PATH, "cache")
47 TITLE_PATH = os.path.join(USER_PATH, "title")
48 PROFILES_PATH = os.path.join(PATH, "profiles")
49 IMAGES_PATH = os.path.join(PATH, "images")
50 TRANSITIONS_PATH = os.path.join(USER_PATH, "transitions")
51 EXPORT_PRESETS_DIR = os.path.join(PATH, "presets")
52 EXPORT_TESTS = os.path.join(USER_PATH, "tests")
53 USER_PROFILES_PATH = os.path.join(USER_PATH, "profiles")
54 
55 # Create PATHS if they do not exist (this is where temp files are stored... such as cached thumbnails)
56 for folder in [USER_PATH, THUMBNAIL_PATH, CACHE_PATH, BLENDER_PATH, TITLE_PATH, PROFILES_PATH, IMAGES_PATH,
57  TRANSITIONS_PATH, EXPORT_TESTS, BACKUP_PATH, USER_PROFILES_PATH]:
58  if not os.path.exists(folder.encode("UTF-8")):
59  os.makedirs(folder, exist_ok=True)
60 
61 # names of all contributers, using "u" for unicode encoding
62 AF = {"name": u"Andy Finch", "email": "andy@openshot.org", "website":"http://openshot.org/developers/andy"}
63 NF = {"name": u"Noah Figg", "email": "eggmunkee@hotmail.com"}
64 JT = {"name": u"Jonathan Thomas", "email": "jonathan@openshot.org", "website":"http://openshot.org/developers/jonathan"}
65 OG = {"name": u"Olivier Girard", "email": "olivier@openshot.org", "website":"http://openshot.org/developers/olivier"}
66 CP = {"name": u"Cody Parker", "email": "cody@yourcodepro.com", "website":"http://openshot.org/developers/cody_parker"}
67 
68 # Languages
69 SUPPORTED_LANGUAGES = ['en_US']
70 for lang in os.listdir(os.path.join(PATH, 'locale')):
71  if lang not in ["OpenShot"] and not os.path.isfile(os.path.join(PATH, 'locale', lang)):
72  SUPPORTED_LANGUAGES.append(lang)
73 
74 # credits
75 CREDITS = {
76  "code": [JT, NF, AF, CP, OG],
77  "artwork": [JT],
78  "documentation": [JT],
79  "translation": [OG],
80 }
81 
82 SETUP = {
83  "name": NAME,
84  "version": VERSION,
85  "author": JT["name"] + " and others",
86  "author_email": JT["email"],
87  "maintainer": JT["name"],
88  "maintainer_email": JT["email"],
89  "url": "http://www.openshot.org/",
90  "license": "GNU GPL v." + GPL_VERSION,
91  "description": DESCRIPTION,
92  "long_description": "Create and edit videos and movies\n"
93  " OpenShot Video Editor is a free, open-source, non-linear video editor. It\n"
94  " can create and edit videos and movies using many popular video, audio, \n"
95  " image formats. Create videos for YouTube, Flickr, Vimeo, Metacafe, iPod,\n"
96  " Xbox, and many more common formats!\n"
97  ".\n"
98  " Features include:\n"
99  " * Multiple tracks (layers)\n"
100  " * Compositing, image overlays, and watermarks\n"
101  " * Support for image sequences (rotoscoping)\n"
102  " * Key-frame animation\n * Video and audio effects (chroma-key)\n"
103  " * Transitions (lumas and masks)\n"
104  " * 3D animation (titles and simulations)\n"
105  " * Upload videos (YouTube and Vimeo supported)",
106 
107  # see http://pypi.python.org/pypi?%3Aaction=list_classifiers
108  "classifiers": [
109  "Development Status :: 5 - Production/Stable",
110  "Environment :: X11 Applications",
111  "Environment :: X11 Applications :: GTK",
112  "Intended Audience :: End Users/Desktop",
113  "License :: OSI Approved :: GNU General Public License (GPL)",
114  "Operating System :: OS Independent",
115  "Operating System :: POSIX :: Linux",
116  "Programming Language :: Python",
117  "Topic :: Artistic Software",
118  "Topic :: Multimedia :: Video :: Non-Linear Editor", ] +
119  ["Natural Language :: " + language for language in SUPPORTED_LANGUAGES],
120 
121  # Automatic launch script creation
122  "entry_points": {
123  "gui_scripts": [
124  "openshot-qt = openshot_qt.launch:main"
125  ]
126  }
127 }