Update .gitignore and setup.py, move version string to __init__.py
This commit is contained in:
parent
7fcfa35a1e
commit
7f0bb35e5c
|
@ -1,2 +1,4 @@
|
|||
*.py[co]
|
||||
build/
|
||||
dist/
|
||||
MANIFEST
|
||||
|
|
37
MANIFEST
37
MANIFEST
|
@ -1,37 +0,0 @@
|
|||
# file GENERATED by distutils, do NOT edit
|
||||
AUTHORS
|
||||
COPYING
|
||||
MANIFEST
|
||||
README
|
||||
TODO
|
||||
epour.png
|
||||
setup.py
|
||||
bin/epour
|
||||
data/epour.desktop.in
|
||||
data/icons/128x128/apps/epour.png
|
||||
data/icons/16x16/apps/epour.png
|
||||
data/icons/192x192/apps/epour.png
|
||||
data/icons/22x22/apps/epour.png
|
||||
data/icons/24x24/apps/epour.png
|
||||
data/icons/256x256/apps/epour.png
|
||||
data/icons/32x32/apps/epour.png
|
||||
data/icons/36x36/apps/epour.png
|
||||
data/icons/48x48/apps/epour.png
|
||||
data/icons/64x64/apps/epour.png
|
||||
data/icons/72x72/apps/epour.png
|
||||
data/icons/96x96/apps/epour.png
|
||||
debian/changelog
|
||||
debian/compat
|
||||
debian/control
|
||||
debian/rules
|
||||
debian/source/format
|
||||
epour/Epour.py
|
||||
epour/Globals.py
|
||||
epour/__init__.py
|
||||
epour/session.py
|
||||
epour/gui/Main.py
|
||||
epour/gui/Notify.py
|
||||
epour/gui/Preferences.py
|
||||
epour/gui/TorrentInfo.py
|
||||
epour/gui/__init__.py
|
||||
epour/gui/intrepr.py
|
|
@ -1 +0,0 @@
|
|||
version = "0.6.0"
|
|
@ -0,0 +1 @@
|
|||
__version__ = "0.6.0"
|
15
setup.py
15
setup.py
|
@ -1,10 +1,14 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
from DistUtilsExtra.auto import setup
|
||||
from DistUtilsExtra import auto
|
||||
|
||||
from epour.Globals import version
|
||||
|
||||
setup(
|
||||
|
||||
class sdist_auto(auto.sdist_auto):
|
||||
filter_suffix = ['.pyc', '.mo', '~', '.swp', '-workspace', '-project']
|
||||
|
||||
auto.setup(
|
||||
name='epour',
|
||||
version=version,
|
||||
author='Kai Huuhko',
|
||||
|
@ -15,8 +19,8 @@ setup(
|
|||
long_description=(
|
||||
'Epour is a BitTorrent client based on EFL and rb-libtorrent.'
|
||||
),
|
||||
#url='',
|
||||
#download_url='',
|
||||
url='https://phab.enlightenment.org/w/projects/epour/',
|
||||
download_url='http://enlightenment.org/p.php?p=download',
|
||||
license='GNU GPL',
|
||||
platforms='linux',
|
||||
requires=[
|
||||
|
@ -28,4 +32,7 @@ setup(
|
|||
provides=[
|
||||
'epour',
|
||||
],
|
||||
cmdclass={
|
||||
'sdist': sdist_auto
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue