Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (35 loc) · 1.33 KB
/
Copy pathsetup.py
File metadata and controls
39 lines (35 loc) · 1.33 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
36
37
38
39
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
pkg_name = 'radpress'
version = __import__(pkg_name).__version__
PROJECT_DIR = os.path.dirname(__file__)
# get requires from requirements/global.txt file.
requires_file_name = os.path.join(PROJECT_DIR, 'requirements', 'global.txt')
with open(requires_file_name) as install_requires:
install_requires = map(lambda x: x.strip(), install_requires.readlines())
setup(
name=pkg_name,
version=version,
description='Simple reusable blog application',
long_description=open(os.path.join(PROJECT_DIR, 'README.rst')).read(),
author=u'Gökmen Görgen',
author_email='gokmen@radity.com',
license='MIT',
url='https://github.com/gkmngrgn/radpress',
packages=find_packages(exclude=['venv', 'demo', 'docs']),
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
classifiers=[
'Topic :: Software Development :: Libraries :: Python Modules',
'Framework :: Django',
'Environment :: Web Environment',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
]
)