-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathsetup.py
36 lines (30 loc) · 974 Bytes
/
setup.py
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
from setuptools import setup
import os
import sys
def readme():
with open('README.md') as f:
return f.read()
print('setup.py using python', sys.version_info[0])
with open('rsconnect/version.txt', 'r') as f:
VERSION = f.read().strip()
BUILD = os.environ.get('BUILD_NUMBER', '9999')
setup(name='rsconnect_python',
version='{version}.{build}'.format(version=VERSION, build=BUILD),
description='Python integration with RStudio Connect',
long_description=readme(),
long_description_content_type='text/markdown',
url='http://github.com/rstudio/rsconnect-python',
project_urls={
"Documentation": "https://docs.rstudio.com/rsconnect-python",
},
author='Michael Marchetti',
author_email='mike@rstudio.com',
license='GPL-2.0',
packages=['rsconnect'],
install_requires=[
'six',
'click',
'nbformat',
],
python_requires = '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*'
)