Subversion Repositories basico

Rev

Rev 17 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 17 Rev 19
Line 20... Line 20...
20
import os
20
import os
21
import subprocess
21
import subprocess
22
from setuptools import setup
22
from setuptools import setup
23
23
24
24
25
with open('README.rst') as f:
-
 
-
 
25
with open('README') as f:
26
    long_description = f.read()
26
    long_description = f.read()
27
27
28
def add_data():
28
def add_data():
29
    try:
29
    try:
30
        data_files = [
30
        data_files = [
Line 46... Line 46...
46
                ]),
46
                ]),
47
            ('basico/data/ui', ['basico/data/ui/basico.ui']),
47
            ('basico/data/ui', ['basico/data/ui/basico.ui']),
48
            ('basico/data/share', []),
48
            ('basico/data/share', []),
49
            ("basico/data/share/docs",
49
            ("basico/data/share/docs",
50
                    [
50
                    [
-
 
51
                    'AUTHORS',
51
                    'LICENSE',
52
                    'LICENSE',
52
                    'README.rst',
-
 
-
 
53
                    'README',
53
                    'INSTALL',
54
                    'INSTALL',
54
                    'CREDITS'
-
 
-
 
55
                    'CREDITS',
-
 
56
                    'Changelog'
55
                    ]),
57
                    ]),
56
            ]
58
            ]
57
59
58
        if not os.path.isdir('mo'):
60
        if not os.path.isdir('mo'):
59
            os.mkdir('mo')
61
            os.mkdir('mo')
Line 88... Line 90...
88
setup(
90
setup(
89
    name='basico',
91
    name='basico',
90
    version='0.1',
92
    version='0.1',
91
    author='Tomás Vírseda',
93
    author='Tomás Vírseda',
92
    author_email='tomasvirseda@gmail.com',
94
    author_email='tomasvirseda@gmail.com',
93
    url='https://github.com/t00m/basico',
-
 
94
    description='SAP Notes manager for SAP Consultants',
-
 
-
 
95
    url='http://subversion.t00mlabs.net/basico',
-
 
96
    description='SAP Notes Manager for SAP Consultants',
95
    long_description=long_description,
97
    long_description=long_description,
-
 
98
    download_url = 'http://t00mlabs.net/downloads/basico-0.1.tar.gz',
96
    license='GPLv3',
99
    license='GPLv3',
97
    packages=['basico'],
100
    packages=['basico'],
98
    # distutils does not support install_requires, but pip needs it to be
101
    # distutils does not support install_requires, but pip needs it to be
99
    # able to automatically install dependencies
102
    # able to automatically install dependencies
100
    install_requires=[
103
    install_requires=[