-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
91f7017
commit a9c0219
Showing
2 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,15 +6,25 @@ | |
# | ||
|
||
from distutils.core import setup, Extension | ||
import re | ||
|
||
NAME = "EffectLab" | ||
DESCRIPTION = "Python Image Processing Effect Lab" | ||
AUTHOR = "Hua Liang [Stupid ET]" | ||
HOMEPAGE = "http://everet.org/2012/07/effectlab.html" | ||
DOWNLOAD_URL = "https://github.com/cedricporter/EffectLab/downloads" | ||
|
||
def find_version(filename): | ||
for line in open(filename).readlines(): | ||
m = re.search("VERSION\s*=\s*\"([^\"]+)\"", line) | ||
if m: | ||
return m.group(1) | ||
return None | ||
|
||
VERSION = find_version("EffectLab/Effect.py") | ||
|
||
setup(name = NAME, | ||
version = '1.0', | ||
version = VERSION, | ||
author = 'Hua Liang [Stupid ET]', | ||
author_email = '[email protected]', | ||
url = HOMEPAGE, | ||
|