-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
57 lines (45 loc) · 1.42 KB
/
Copy pathsetup.py
File metadata and controls
57 lines (45 loc) · 1.42 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals
#to publish
#python3 setup.py sdist
#twine upload -r test dist/python-rpy-1.0.0.tar.gz
import sys
import os
import codecs
from setuptools import setup, find_packages
HERE = os.path.abspath(os.path.dirname(__file__))
CLASSIFIERS = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Software Development :: Libraries :: Password Manager"
]
def read(*rellibpath):
try:
with codecs.open(os.path.join(HERE, *rellibpath), 'r', encoding='utf-8') as fp:
return fp.read()
except FileNotFoundError:
pass
def load_tests():
from rpy.cli.commands.test import Command as TestCommand
TestCommand().handle()
setup(
name = 'python-rpy',
version = '1.1.0',
description = 'A Python library with various functional tools.',
long_description = read('README.rst'),
long_description_content_type = 'text/x-rst',
keywords=['password'],
author = 'Riccardo Di Virgilio',
author_email = 'riccardodivirgilio@gmail.com',
include_package_data=True,
packages=find_packages(),
test_suite='setup.load_tests',
python_requires='>=3.5',
install_requires = [
],
project_urls={
}
)