-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
35 lines (32 loc) · 1.25 KB
/
setup.py
File metadata and controls
35 lines (32 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
from setuptools import setup, find_packages
import os
import re
if os.environ.get('USER', '') == 'vagrant':
del os.link
requirements = [r.strip() for r in open('requirements.txt').readlines() if not r.startswith('--')]
requirements = [r if ('git+' not in r) else re.sub(r".*egg=(.*)", r"\1", r).strip() for r in requirements]
setup(
name='MYPROJECT',
version=open('VERSION.txt').read().strip(),
author='Ronan Delacroix',
author_email='ronan.delacroix@gmail.com',
packages=find_packages(where='.', exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
package_data={}, #{'mypkg': ['data/*.dat']},
scripts=[],
license=open('LICENCE.txt').read().strip(),
description='MYPROJECT DESCRIPTION',
long_description=open('DESCRIPTION.txt').read().strip(),
include_package_data=True,
install_requires=requirements,
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: Proprietary',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Programming Language :: Python',
],
)